Skip to content

Commit

Permalink
Added build script
Browse files Browse the repository at this point in the history
  • Loading branch information
BleachDev committed Nov 1, 2022
1 parent 6ca6a69 commit 5149c5a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
*.ipr
*.iws

out/
out/
4K.jar
9 changes: 9 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -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 *

0 comments on commit 5149c5a

Please sign in to comment.