This commit is contained in:
Sotr
2019-04-10 02:35:56 +08:00
parent cada315a0e
commit 7f19ae7c2d
3 changed files with 2 additions and 27 deletions

View File

@@ -32,7 +32,7 @@ echo "[Akarin] Ready to build"
if [ "$2" == "--fast" ] || [ "$3" == "--fast" ] || [ "$4" == "--fast" ]; then
echo "[Akarin] Test and repatch has been skipped"
\cp -rf "$basedir/api/src/main" "$paperbasedir/Paper-API/src/"
\cp -rf "$basedir/api/src/pom.xml" "$paperbasedir/Paper-API/"
\cp -rf "$basedir/api/pom.xml" "$paperbasedir/Paper-API/"
\cp -rf "$basedir/src" "$paperbasedir/Paper-Server/"
\cp -rf "$basedir/pom.xml" "$paperbasedir/Paper-Server/"
mvn clean install -DskipTests
@@ -41,7 +41,7 @@ echo "[Akarin] Ready to build"
rm -rf Paper-Server/src
./paper patch
\cp -rf "$basedir/api/src/main" "$paperbasedir/Paper-API/src/"
\cp -rf "$basedir/api/src/pom.xml" "$paperbasedir/Paper-API/"
\cp -rf "$basedir/api/pom.xml" "$paperbasedir/Paper-API/"
\cp -rf "$basedir/src" "$paperbasedir/Paper-Server/"
\cp -rf "$basedir/pom.xml" "$paperbasedir/Paper-Server/"
mvn clean install -DskipTests