Skip to content

Commit a71e879

Browse files
authored
docs: Added some more explanation about actions in the README
1 parent a242289 commit a71e879

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,11 @@ dependencies:
102102
com.github.lalyos:jfiglet:0.0.9
103103
104104
actions:
105+
setup: "echo Do some actual work here..."
105106
build: "javac -cp {{deps}} *.java"
106107
run: "java -cp {{deps}} HelloWorld"
107108
test: "java -cp {{deps}} TestRunner"
109+
it: "java -cp {{deps}} IntegrationTestRunner"
108110
clean: "rm -f *.class"
109111
```
110112
@@ -114,11 +116,12 @@ You can execute actions using the `jpm do` command:
114116
115117
```shell
116118
$ jpm do build
117-
$ jpm do run
119+
$ jpm do run --arg fubar
120+
$ jpm do build -a --verbose run -a fubar
118121
$ jpm do --list # Lists all available actions
119122
```
120123
121-
Or use the convenient alias commands:
124+
Or use the convenient alias commands that exist especially for "clean", "build", "test" and "run":
122125
123126
```shell
124127
$ jpm build # Executes the 'build' action

0 commit comments

Comments
 (0)