Created
October 11, 2012 06:55
-
-
Save wgroeneveld/3870664 to your computer and use it in GitHub Desktop.
useplay script to switch versioning
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
export CLICOLOR=1 | |
export LSCOLORS=ExFxCxDxBxegedabagacad | |
alias l="ls -la" | |
export SBT_OPTS="-XX:MaxPermSize=256m" | |
export BASE_PATH=$PATH | |
function useplay2 { | |
useplay "2.0.4" | |
} | |
function useplay1 { | |
useplay "1.2.5" | |
} | |
function useplay { | |
version=${1-1.2.5} | |
export PLAY_HOME=~/development/play-$version | |
exportPath | |
} | |
function exportPath { | |
export PATH=$BASE_PATH:$PLAY_HOME | |
} | |
useplay1 | |
exportPath |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment