Changeset: 8acba1d2c538 for monetdb-java
URL: https://dev.monetdb.org/hg/monetdb-java/rev/8acba1d2c538
Modified Files:
        Makefile
Branch: mvn
Log Message:

Cleanup Makefile


diffs (50 lines):

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -1,34 +1,20 @@
-all: src/main/java/org/monetdb/jdbc/MonetVersion.java.in
-       ant -f build.xml distjdbc distmerocontrol
-       cd tests; ant -f build.xml jar_jdbctests
+#
 
-jre17jars: src/main/java/org/monetdb/jdbc/MonetVersion.java
-       rm -rf build
-       ant -f build.xml -Djvm.version=17 distjdbc
-       rm -rf build
+# Build the main jar. Suppress sources jar, docs jar and all tests.
+default:
+       ./mvnw -Pquick -DskipTests package
 
-jre21jars: src/main/java/org/monetdb/jdbc/MonetVersion.java
-       rm -rf build
-       ant -f build.xml -Djvm.version=21 distjdbc
-       rm -rf build
+# Run tests but not the slow ones
+test:
+       # Run up to phase 'test'. Skip the slow tests
+       ./mvnw -Pquick test
 
-test: all
-       cd tests; ant -f build.xml test
-
-testsjar:
-       cd tests; ant -f build.xml jar_jdbctests
-
-doc:
-       ant -f build.xml doc
+# Run all tests including the slow ones.
+testall:
+       ./mvnw test
 
 clean:
-       rm -f src/main/java/org/monetdb/jdbc/MonetVersion.java
-       rm -rf build tests/build jars doc
+       ./mvnw clean
 
-cleandoc:
-       rm -rf doc
 
-cleantests:
-       rm -rf tests/build
-       rm -f  jars/jdbctests.jar
 
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to