sandbox is a test
git-clone
- (edit files)
git add
# (optional)git-commit
git-push
docker build -t
repo/name .docker run
repo/name <optional_command(s)>
Note that running the Groovy/Spock scripts standalone requires un-commenting the Grapes/Grab lines. And conversely, running them under Maven requires commenting out the Grapes/Grab lines.
mvn clean test
; # runs the tests under src/ via Maven./src/test/groovy/spock/test-spock-Spec.groovy
; # standalone script
Note that running Groovy/VertX scripts from bash env/shbang has different instantiation defaults vs. using the vertx
command-line lanucher.
See more docs at http://vertx.io/docs/vertx-core/groovy/
vertx run ScriptName
# run in VertX context (auto-import certain libs + instantiated object(s)vertx start AppScriptSrv
# launch VertX app into background process (daemon)vertx run ServiceScript -clustert
# enable VertX eventBus (HazelCast)
see also ..