-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
28 lines (21 loc) · 947 Bytes
/
Makefile
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
dep-tree: ##@Help Draws the maven dependency tree
mvn dependency:tree
build: ##@Dev Rebuild app
-rm speco.jar
mvn clean install -Dtests=fast -Pqulice
cp target/speco-1.0-SNAPSHOT-jar-with-dependencies.jar speco.jar
build-force: ##@Dev Rebuild app without linting and tests
-rm speco.jar
mvn clean install -Dmaven.test.skip
cp target/speco-1.0-SNAPSHOT-jar-with-dependencies.jar speco.jar
lint: ##@Dev Runs Qulice
mvn clean install -Dmaven.test.skip -Pqulice
cp target/speco-1.0-SNAPSHOT-jar-with-dependencies.jar speco.jar
test: ##@Dev Runs all tests
mvn -PallTests test
trans: ##@Usage Run speco on test data
java -jar speco.jar --source=./tmp/xmir-in --target=./tmp/xmir-out
trans-eo: ##@Usage Run speco on test data with --eo flag
java -jar speco.jar --source=./tmp/eo-in --target=./tmp/eo-out --eo
run-eo: ##@Usage Compiles and runs eo program
cd tmp/eo-out && eoc clean && eoc link && eoc --alone dataize app && eoc clean