Skip to content

Instantly share code, notes, and snippets.

@katzchang
Created July 26, 2019 05:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save katzchang/06aa444b9ef6bc30cdf08e4ef8f95bf0 to your computer and use it in GitHub Desktop.
Save katzchang/06aa444b9ef6bc30cdf08e4ef8f95bf0 to your computer and use it in GitHub Desktop.
make sbt-shell
#SBT:=docker run -p 8080:8080 -v ~/.ivy2:/root/.ivy2 -v ~/.sbt:/root/.sbt -v `pwd`:/workspace -w /workspace -it --rm hseeberger/scala-sbt sbt
SBT=./sbt
.PHONY: test-continuous sbt-shell sbt-assembly
test-continuous: sbt
$(SBT) ~test
sbt-shell: sbt
$(SBT)
sbt-assembly: sbt
$(SBT) assembly
sbt:
curl -Ls https://git.io/sbt > $@ && chmod 0755 $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment