summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-11-24 20:39:41 +0100
committerNao Pross <naopross@thearcway.org>2018-11-24 20:39:41 +0100
commit04fc451bd2391c8a8014912a8282c4fd48f9e118 (patch)
tree21e45a6337f11e3964a90002907b5173401a23bd
parentRename MenuScene to MainMenuScene and minor code cleanup (diff)
downloadSubconscious-java-04fc451bd2391c8a8014912a8282c4fd48f9e118.tar.gz
Subconscious-java-04fc451bd2391c8a8014912a8282c4fd48f9e118.zip
Remove super dangerous pack recipe from makefile
It has some problems and deletes everything on your working directory. Super dangerous.
-rw-r--r--Makefile18
1 files changed, 2 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index e2ef854..1f1c3b3 100644
--- a/Makefile
+++ b/Makefile
@@ -39,22 +39,8 @@ run: classes
cd build
$(JAVA) $(JAVA_ARGS) $(MAINCLASS)
-.ONESHELL:
-pack: classes
- echo "Main-Class: $(MAINCLASS)" > jar/manifest.txt
- jar cvfm jar/$(MAINCLASS).jar jar/manifest.txt -C bin/ .
- rm jar/manifest.txt
- cp lib/gson-2.6.2.jar jar/
- cd jar
- jar xf gson-2.6.2.jar
- rm META-INF -R
- jar xf Sub.jar
- rm gson-2.6.2.jar
- rm Sub.jar
- zip -r Subconcious.jar ./*
- find . ! -name 'Subconcious.jar' -type f -exec rm -f {} +
- rm -R com META-INF
-
+# TODO: recipe for jar file
+
dirs:
mkdir -p build