From 04fc451bd2391c8a8014912a8282c4fd48f9e118 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sat, 24 Nov 2018 20:39:41 +0100 Subject: Remove super dangerous pack recipe from makefile It has some problems and deletes everything on your working directory. Super dangerous. --- Makefile | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.1