aboutsummaryrefslogtreecommitdiff
path: root/java/Makefile
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2018-09-06 08:40:23 -0400
committerPaul Duncan <pabs@pablotron.org>2018-09-06 08:40:23 -0400
commitf422534cd4cf1ba32523c9fc798c207065038ca5 (patch)
treed3dce87dffeca2acfceab6aa9abf7046843f9145 /java/Makefile
parentc02640d395fe95a41183a63bea29113676e92fae (diff)
downloadluigi-template-f422534cd4cf1ba32523c9fc798c207065038ca5.tar.bz2
luigi-template-f422534cd4cf1ba32523c9fc798c207065038ca5.zip
java: add pom.xml, mv sources to src/main/java/org/pablotron, add src/test, add initial junit tests, update makefile and .gitignore
Diffstat (limited to 'java/Makefile')
-rw-r--r--java/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/java/Makefile b/java/Makefile
index fee0c59..2643080 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -1,14 +1,14 @@
-SOURCES=$(shell find . -type f -name \*.java)
-OUT=luigi-template.jar
+SOURCES=$(shell find src/main/java -type f -name \*.java)
+OUT=$(shell pwd)/luigi-template.jar
all: $(SOURCES)
javac $(SOURCES)
$(OUT): all
- jar cf $(OUT) pablotron
+ cd src/main/java && jar cf $(OUT) org
jar: $(OUT)
clean:
- find . -type f -name \*.class -exec rm -f '{}' ';'
+ find src/main/java -type f -name \*.class -exec rm -f '{}' ';'
rm -f $(OUT)