mirror of
https://github.com/kami-blue/client
synced 2024-12-22 07:01:01 +00:00
make build script more reliable and remove unused code
This commit is contained in:
parent
dfedd4865d
commit
776517eb9f
37
build.sh
37
build.sh
@ -15,43 +15,12 @@ cp -r kamiblue/build.sh KAMI-Blue-beta/
|
||||
cp -r kamiblue/build.gradle KAMI-Blue-beta/
|
||||
cp -r kamiblue/src/ KAMI-Blue-beta/
|
||||
|
||||
#echo "BUILD: copied modules and tools"
|
||||
#cp kamiblue/sdashb.modules kamiblue-buildtools/
|
||||
#cp kamiblue/build*.sh kamiblue-buildtools/
|
||||
|
||||
#echo "BUILD: copied gradle"
|
||||
#cp kamiblue/build.gradle kamiblue-buildtools/
|
||||
#cp kamiblue/gradle.properties kamiblue-buildtools/
|
||||
|
||||
#echo "BUILD: committing to git"
|
||||
#cd kamiblue-buildtools/
|
||||
#git add .
|
||||
#git commit -m "Auto commit from building"
|
||||
#git push
|
||||
#cd ../
|
||||
|
||||
echo "BUILD: cd in"
|
||||
cd KAMI-Blue-beta/
|
||||
|
||||
#echo "BUILD: removing donator modules"
|
||||
#rm -rf src/main/java/me/zeroeightsix/kami/module/modules/sdashb/capes/
|
||||
#rm -rf src/main/java/me/zeroeightsix/kami/module/modules/sdashb/render/CapeGUI.java
|
||||
#rm -rf src/main/java/me/zeroeightsix/kami/mixin/client/MixinAbstractClientPlayer.java
|
||||
#curl https://raw.githubusercontent.com/S-B99/KAMI/features-master/src/main/java/me/zeroeightsix/kami/mixin/client/MixinMinecraft.java -o src/main/java/me/zeroeightsix/kami/mixin/client/MixinMinecraft.java
|
||||
#curl https://raw.githubusercontent.com/S-B99/KAMI/features-master/src/main/resources/mixins.kami.json -o src/main/resources/mixins.kami.json
|
||||
cd KAMI-Blue-beta/ || exit
|
||||
|
||||
echo "BUILD: removing keygen"
|
||||
rm -rf src/main/java/me/zeroeightsix/kami/module/modules/sdashb/experimental/Gen.java
|
||||
|
||||
echo "BUILD: removing net minecraft"
|
||||
rm -rf src/main/java/net/minecraft
|
||||
|
||||
#echo "BUILD: removing org lwjgl"
|
||||
#rm -rf src/main/java/org/lwjgl
|
||||
|
||||
#echo "BUILD: removing com google"
|
||||
#rm -rf src/main/java/org/google
|
||||
|
||||
echo "BUILD: cleaning"
|
||||
./gradlew clean
|
||||
|
||||
@ -68,10 +37,10 @@ echo "BUILD: deleting"
|
||||
rm -rf KAMI-Blue-beta/
|
||||
|
||||
echo "BUILD: cd in"
|
||||
cd kamiblue/
|
||||
cd kamiblue/ || exit
|
||||
|
||||
echo "BUILD: finished"
|
||||
|
||||
END_TIME="$(date +%s)"
|
||||
echo "BUILD: took" $(($(date +%s)-$START_TIME)) "seconds"
|
||||
echo "BUILD: finished at" $(date -d "@$END_TIME")
|
||||
echo "BUILD: finished at" "$(date -d "@$END_TIME")"
|
||||
|
Loading…
Reference in New Issue
Block a user