Skip to content

Instantly share code, notes, and snippets.

@reactormade
Created August 21, 2012 02:32
Show Gist options
  • Save reactormade/3410880 to your computer and use it in GitHub Desktop.
Save reactormade/3410880 to your computer and use it in GitHub Desktop.
Automate project creation
if [ "$1" = "" ] ; then
echo "Must pass a folder name.";
else
cd $HOME/Sites/ && mkdir $1 && cd $1
cp -R ~/Sites/coding/mvc/ .
curl http://code.jquery.com/jquery.js > public/js/jquery.js
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment