2021-09-18 06:00:50 +00:00
|
|
|
|
|
|
|
@ECHO OFF
|
|
|
|
|
|
|
|
REM go to the parent folder
|
|
|
|
CD .\..
|
|
|
|
|
|
|
|
REM compile the parent project
|
2021-11-06 13:06:14 +00:00
|
|
|
CALL mvn clean install -DskipTests
|
2021-09-18 06:00:50 +00:00
|
|
|
|
|
|
|
REM create a copy with the expected name
|
|
|
|
XCOPY /Y target\ulid-creator-*-SNAPSHOT.jar target\ulid-creator-0.0.1-BENCHMARK.jar*
|
|
|
|
|
|
|
|
REM go to the benchmark folder
|
|
|
|
CD benchmark
|
|
|
|
|
|
|
|
REM compile the benchmark project
|
|
|
|
CALL mvn validate
|
|
|
|
CALL mvn clean install
|
|
|
|
|
|
|
|
REM run the benchmark
|
|
|
|
CALL java -jar target/benchmarks.jar
|
|
|
|
|
|
|
|
@ECHO ON
|