File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -102,9 +102,11 @@ dependencies:
102102 com.github.lalyos:jfiglet:0.0.9
103103
104104actions:
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
You can’t perform that action at this time.
0 commit comments