mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-05 21:33:54 +00:00
Remove some old scripts
These were part of the original CC repo, but aren't really needed now that everything important (LuaJ, bundling API docs+source), has been moved to Gradle. We also remove the LuaJ lib. It's sad to see it go, but it was rather redundant. We're keeping the LuaJ sources for now, as I don't really want a really large diff.
This commit is contained in:
parent
14c9558ee6
commit
c2a782afa4
@ -1,12 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
cd luaj-2.0.3
|
|
||||||
echo "Building LuaJ..."
|
|
||||||
ant clean
|
|
||||||
ant
|
|
||||||
|
|
||||||
echo "Copying output to libs..."
|
|
||||||
rm ../libs/luaj-jse-2.0.3.jar
|
|
||||||
cp luaj-jse-2.0.3.jar ../libs
|
|
||||||
|
|
||||||
echo "Done."
|
|
||||||
cd ..
|
|
10
codesize.sh
10
codesize.sh
@ -1,10 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
echo "Java code:"
|
|
||||||
cat `find src | grep \\.java$` | wc
|
|
||||||
|
|
||||||
echo "Lua code:"
|
|
||||||
cat `find src/main/resources/assets/computercraft/lua | grep \\.lua$` | wc
|
|
||||||
|
|
||||||
echo "JSON:"
|
|
||||||
cat `find src/main/resources/assets/computercraft | grep \\.json$` | wc
|
|
||||||
|
|
21
deploy.sh
21
deploy.sh
@ -1,21 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
echo "Building with gradle..."
|
|
||||||
rm -rf build/libs
|
|
||||||
rm -rf build/resources
|
|
||||||
rm -rf build/classes
|
|
||||||
chmod -R +rw src/main/resources
|
|
||||||
chmod +x gradlew
|
|
||||||
./gradlew build
|
|
||||||
|
|
||||||
echo "Deleting old deployment..."
|
|
||||||
rm -rf deploy
|
|
||||||
mkdir deploy
|
|
||||||
|
|
||||||
echo "Making new deployment..."
|
|
||||||
INPUTJAR=`ls -1 build/libs | grep -v sources`
|
|
||||||
OUTPUTJAR=`ls -1 build/libs | grep -v sources | sed s/\-//g`
|
|
||||||
FRIENDLYNAME=`ls -1 build/libs | grep -v sources | sed s/\-/\ /g | sed s/\.jar//g`
|
|
||||||
cp build/libs/$INPUTJAR deploy/$OUTPUTJAR
|
|
||||||
|
|
||||||
echo "Done."
|
|
Binary file not shown.
@ -1,7 +0,0 @@
|
|||||||
echo "Setting up IntelliJ development environment with gradle..."
|
|
||||||
rmdir /s /q .\build
|
|
||||||
call gradlew.bat --stacktrace setupDecompWorkspace --refresh-dependencies
|
|
||||||
call gradlew.bat --stacktrace cleanIdea idea
|
|
||||||
|
|
||||||
echo "Done."
|
|
||||||
pause
|
|
14
setup.sh
14
setup.sh
@ -1,14 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
echo "Setting permissions..."
|
|
||||||
chmod +x codesize.sh
|
|
||||||
chmod +x build_luaj.sh
|
|
||||||
chmod +x deploy.sh
|
|
||||||
chmod +x gradlew
|
|
||||||
|
|
||||||
echo "Setting up IntelliJ development environment with gradle..."
|
|
||||||
rm -rf build
|
|
||||||
./gradlew --stacktrace setupDecompWorkspace --refresh-dependencies
|
|
||||||
./gradlew --stacktrace cleanIdea idea
|
|
||||||
|
|
||||||
echo "Done."
|
|
Loading…
x
Reference in New Issue
Block a user