41 lines
1.1 KiB
Bash
Executable File
41 lines
1.1 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
|
|
REPO="https://gitea.hb.dhbw-stuttgart.de/f.holzwarth/JavaCompilerCore.git"
|
|
TDIR="./testBuild"
|
|
|
|
rm -rf "$TDIR" 2>/dev/null
|
|
mkdir $TDIR
|
|
|
|
cd $TDIR
|
|
git clone $REPO .
|
|
git checkout feat/unify-server
|
|
# git checkout 93e1a8787cd94c73f4538f6a348f58613893a584
|
|
# git checkout dad468368b86bdd5a3d3b2754b17617cee0a9107 # 1:55
|
|
# git checkout a0c11b60e8c9d7addcbe0d3a09c9ce2924e9d5c0 # 2:25
|
|
# git checkout 4cddf73e6d6c9116d3e1705c4b27a8e7f18d80c3 # 2:27
|
|
# git checkout 6c2d97b7703d954e4a42eef3ec374bcf313af75c # 2:13
|
|
# git checkout f722a00fbb6e69423d48a890e4a6283471763e64 # 1:35
|
|
# git checkout f0a4a51ce65639ce9a9470ff0fdb538fdf9c02cc # 2:19
|
|
# git checkout 1391206dfe59263cdb22f93371cfd1dd5465d97f # 1:29
|
|
|
|
date "+%Y.%m.%d %H:%M:%S"
|
|
# sed -i -e 's/source>21/source>23/g' pom.xml
|
|
# sed -i -e 's/target>21/target>23/g' pom.xml
|
|
|
|
|
|
mvn clean compile -DskipTests package
|
|
time java -jar target/JavaTXcompiler-0.1-jar-with-dependencies.jar resources/bytecode/javFiles/Matrix.jav;
|
|
|
|
# mvn clean compile test
|
|
|
|
|
|
echo -e "\nCleanup... "
|
|
cd -
|
|
rm -rf "$TDIR" 2>/dev/null
|
|
|
|
echo -e "\nFinished "
|
|
date "+%Y.%m.%d %H:%M:%S"
|
|
echo -e "\n "
|
|
|