summaryrefslogtreecommitdiff
path: root/compile_and_test
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2017-08-10 18:52:45 +0300
committerFoghrye4 <foghrye4@gmail.com>2017-08-10 18:52:45 +0300
commit0427ab89f1753a44b30cbc35ce021cbbdc845109 (patch)
treeabe418ff5ec174e712fe8dedd434548a945b15a3 /compile_and_test
parent877312184c472d9845e5ef1008bc538f4634059f (diff)
fix missing source folder
Diffstat (limited to 'compile_and_test')
-rwxr-xr-xcompile_and_test12
1 files changed, 12 insertions, 0 deletions
diff --git a/compile_and_test b/compile_and_test
new file mode 100755
index 0000000..1641a0c
--- /dev/null
+++ b/compile_and_test
@@ -0,0 +1,12 @@
+rm /home/foghrye4/.minecraft/mods/1.7.10/ihl-tools_n_machines-*.jar
+rm /home/foghrye4/Games/Forge_server/mods/1.7.10/ihl-tools_n_machines-*.jar
+./gradlew build
+zip ./build/libs/ihl-tools_n_machines-1.0.jar "ihl*/*" --copy --out "/home/foghrye4/.minecraft/mods/1.7.10/ihl-tools_n_machines-0.$1-1.7.10.jar"
+cd src/main/resources
+zip -r /home/foghrye4/.minecraft/mods/1.7.10/ihl-tools_n_machines-0.$1-1.7.10.jar . -x *~
+cd ../java
+zip -r /home/foghrye4/.minecraft/mods/1.7.10/ihl-tools_n_machines-0.$1-1.7.10.jar ./assets/ -x *~
+cp /home/foghrye4/.minecraft/mods/1.7.10/ihl-tools_n_machines-0.$1-1.7.10.jar /home/foghrye4/Games/Forge_server/mods/1.7.10/ihl-tools_n_machines-0.$1-1.7.10.jar
+java -jar /home/foghrye4/Games/Minecraft.jar
+cd ../../..
+