summaryrefslogtreecommitdiff
path: root/Makefile
blob: 8c9ae03ed8c3307e848b1cc1de2146a9c3261d50 (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
include build-system/config.mk

escaped_pwd = $(shell pwd | sed 's/\//\\\//g')

install: install-nexus install-sandbox 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-nexus
install-nexus:
	@echo Installing Nexus.
	@./gradlew -q -Pprefix=$(prefix) nexus:installToPrefix; cd ..

.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