From 5149c5adaacf2aaea271686d5949d424d7f141e1 Mon Sep 17 00:00:00 2001 From: BleachDrinker420 <36450388+BleachDrinker420@users.noreply.github.com> Date: Tue, 1 Nov 2022 22:49:32 +0100 Subject: [PATCH] Added build script --- .gitignore | 3 ++- build.sh | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 build.sh diff --git a/.gitignore b/.gitignore index ab6ff95..1b80791 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ *.ipr *.iws -out/ \ No newline at end of file +out/ +4K.jar \ No newline at end of file diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..66f9e6f --- /dev/null +++ b/build.sh @@ -0,0 +1,9 @@ +rm -r out +javac -d ./out M.java +mkdir ./out/META-INF +echo "Manifest-Version: 1.0 +Class-Path: . +Main-Class: M +" >> ./out/META-INF/MANIFEST.MF +cd out +zip -r9 ./../4K.jar * \ No newline at end of file