Last active
August 29, 2015 14:17
-
-
Save jsplink/304c000ebf738269feba to your computer and use it in GitHub Desktop.
postmkvirtualenv
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
#!/bin/bash | |
# This hook is sourced after a new virtualenv is activated. | |
#rvm ruby do rvm gemset create ${PROJECT_RVM_ENV}; | |
ruby do rvm gemset create ${PROJECT_RVM_ENV}; | |
pip install nodeenv; | |
nodeenv -p; | |
mkdir ~/projects/${PROJECT_NAME} | |
touch ~/projects/${PROJECT_NAME}/todo.stml | |
cat > ~/projects/${PROJECT_NAME}/${PROJECT_RVM_ENV}.sublime-project <<DELIM | |
{ | |
"folders": | |
[ | |
{ | |
"path": "/Users/jsphar/projects/${PROJECT_NAME}" | |
}, | |
{ | |
"path": "/Users/jsphar/repos/${PROJECT_NAME}" | |
} | |
] | |
} | |
DELIM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment