Skip to content

Commit

Permalink
Update run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiolimace authored Oct 14, 2023
1 parent ddd1f62 commit 95196de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benchmark/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SCRIPT_DIR=$(dirname "$0")
cd "${SCRIPT_DIR}/.."

# compile the parent project
mvn clean install -DskipTests
mvn --batch-mode --quiet --fail-fast clean install -DskipTests

# create a copy with the expected name
cp "${PWD}/target/${ARTIFACT_ID}"-*-SNAPSHOT.jar "${PWD}/target/${ARTIFACT_ID}"-0.0.1-BENCHMARK.jar
Expand All @@ -18,8 +18,8 @@ cp "${PWD}/target/${ARTIFACT_ID}"-*-SNAPSHOT.jar "${PWD}/target/${ARTIFACT_ID}"-
cd benchmark

# compile the benchmark project
mvn validate
mvn clean install
mvn --batch-mode --quiet --fail-fast validate
mvn --batch-mode --quiet --fail-fast clean install

# run the benchmark
java -jar target/benchmarks.jar
Expand Down

0 comments on commit 95196de

Please sign in to comment.