Last active
April 11, 2019 08:13
-
-
Save YordanGeorgiev/9963977a920343642a9e5ab9553b39fd to your computer and use it in GitHub Desktop.
[sbt-clean-update-test] how-to clean a scala project, update and test it without idea #sbt #scala #test #idea
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#file: src/bash/sbt-clean-update-test.sh | |
#aim: compile and test scala in the shell without idea ... | |
alias find=find # probably obsolete in your env | |
find ~/.sbt ~/.ivy2 -name '*.lock' -print -delete | |
alias find="find -L" | |
rm -fvr ~/.sbt/0.13/plugins/target | |
rm -fvr ~/.sbt/0.13/plugins/project/target | |
rm -fvr ~/.sbt/1.0/plugins/target | |
rm -fvr ~/.sbt/1.0/plugins/project/target | |
rm -fvr ~/.sbt/0.13/target | |
rm -fvr ~/.sbt/1.0/target | |
rm -fvr ./project/target | |
rm -fvr ./project/project/target | |
#sbt clean | |
#sbt update | |
#sbt compile | |
#sbt "test:testOnly * -l com.nokia.gs.npo.ae.rfco.main.cli.RunWorkflowViaLivySpec" | |
#sbt test | |
#sbt "test:testOnly *RunWorkflowViaLivySpec" | |
#clear ; sbt -sbt-version 1.2.8 "set logLevel := Level.Debug" clean compile | |
clear ; sbt "set logLevel := Level.Debug" clean update test | |
echo "sudo find ~/Library/Caches -name '*.jar'| grep -i common | xargs rm -vr" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment