diff options
-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 |