blob: 9bb0abf888107f0b03e9802acbb074b3de104d2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
include build-system/config.mk
escaped_pwd = $(shell pwd | sed 's/\//\\\//g')
install: install-nexus install-sandbox install-cli
install-dev: install-nexus-dev install-sandbox-dev install-cli
.PHONY: dist
dist:
@echo Creating the 'dist' Zip archive.
@./gradlew -q dist
.PHONY: install-sandbox
install-sandbox:
@echo Installing Sandbox.
@./gradlew -q -Pprefix=$(prefix) sandbox:installToPrefix; cd ..
.PHONY: install-sandbox-dev
install-sandbox-dev:
@echo Installing Sandbox "dev".
@sed 's/PROJECT/$(escaped_pwd)/' sandbox/libeufin-sandbox-dev-template > sandbox/libeufin-sandbox-dev
@install -D sandbox/libeufin-sandbox-dev $(prefix)/bin/libeufin-sandbox
.PHONY: install-nexus
install-nexus:
@echo Installing Nexus.
@./gradlew -q -Pprefix=$(prefix) nexus:installToPrefix; cd ..
.PHONY: install-nexus-dev
install-nexus-dev:
@echo Installing Nexus "dev".
@sed 's/PROJECT/$(escaped_pwd)/' nexus/libeufin-nexus-dev-template > nexus/libeufin-nexus-dev
@install -D nexus/libeufin-nexus-dev $(prefix)/bin/libeufin-nexus
.PHONY: install-cli
install-cli:
@echo Installing CLI.
@install -D cli/bin/libeufin-cli $(prefix)/bin
.PHONY: assemble
assemble:
@./gradlew assemble
.PHONY: check
check:
@./gradlew check
.PHONY: tests
tests:
@cd integration-tests; py.test -k "not test_env" tests.py
.PHONY: parse
parse:
@cd parsing-tests; py.test -s checks.py
|