Skip to content

Commit acef236

Browse files
committed
use new slash syntax
1 parent f04e6e7 commit acef236

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
enablePlugins(JmhPlugin)
2-
mainClass in (Jmh, run) := Some("com.example.CustomRunnerApp")
2+
Jmh / run / mainClass := Some("com.example.CustomRunnerApp")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# compile jmh sources all the way to ready to run bench class files
2-
> jmh:run -i 1 -wi 1 -f 1 .*Hello.*
2+
> Jmh/run -i 1 -wi 1 -f 1 .*Hello.*
33

44
# check if the custom file was generated
55
$ exists custom.out
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Expect a failure
2-
-> show jmh:managedSources
2+
-> show Jmh/managedSources
33

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# compile jmh sources all the way to ready to run bench class files
2-
> jmh:run -i 1 -wi 1 -f 1 -rf csv .*Hello.*
2+
> Jmh/run -i 1 -wi 1 -f 1 -rf csv .*Hello.*
33

44
# check if the csv file was generated
55
$ exists jmh-result.csv
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# compile jmh sources all the way to ready to run bench class files
2-
> jmh:run -i 1 -wi 1 -f 1 -rf csv .*Hello.*
2+
> Jmh/run -i 1 -wi 1 -f 1 -rf csv .*Hello.*
33

44
# check if the csv file was generated
55
$ exists jmh-result.csv
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# use the given class as runner
2-
> jmh:runMain com.example.CustomRunnerApp -i 1 -wi 1 -f 1 .*Hello.*
2+
> Jmh/runMain com.example.CustomRunnerApp -i 1 -wi 1 -f 1 .*Hello.*
33

44
# check if the custom file was generated
55
$ exists custom.out

0 commit comments

Comments
 (0)