Skip to content

Instantly share code, notes, and snippets.

@pk11
Created June 22, 2012 21:33
Show Gist options
  • Save pk11/2975330 to your computer and use it in GitHub Desktop.
Save pk11/2975330 to your computer and use it in GitHub Desktop.
offline
echo "[setup global]"
echo "credentials += Credentials(Path.userHome / \".ivy2\" / \".credentials\")" > ~/.sbt/global.sbt
echo "" >> ~/.sbt/global.sbt
echo "offline := true" >> ~/.sbt/global.sbt
rm -rf $PLAY_HOME/repository/local/play*
rm -rf $PLAY_HOME/repository/cache/play*
rm -rf $PLAY_HOME/repository/cache/scala_2.9.*/sbt_0.*.*/play
echo "[republish play]"
cd $PLAY_HOME/framework
./build publish-local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment