diff options
author | Nao Pross <naopross@thearcway.org> | 2018-11-24 20:39:41 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-11-24 20:39:41 +0100 |
commit | 04fc451bd2391c8a8014912a8282c4fd48f9e118 (patch) | |
tree | 21e45a6337f11e3964a90002907b5173401a23bd /Makefile | |
parent | Rename MenuScene to MainMenuScene and minor code cleanup (diff) | |
download | Subconscious-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.
Diffstat (limited to '')
-rw-r--r-- | Makefile | 18 |
1 files changed, 2 insertions, 16 deletions
@@ -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 |