From project root directory, run:
./scripts/install-git-hook-pre-commit.sh
to setup git
pre-commit hook. This hook calls the custom sbt
command preCommit
, defined in build.sbt
.
Call git commit
with the --no-verify
argument to override calling the pre-commit hook.
In sbt
, from any module:
Test / run
will launch the ammonite
REPL with the current module on its classpath.