Created
January 14, 2011 22:25
-
-
Save jgarber623/780393 to your computer and use it in GitHub Desktop.
A simple script that pulls my version of the HTML5 Boilerplate into a folder (passed to the script as an argument), removes Git-related files, and opens the new folder in TextMate.
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 | |
############################################################ | |
# create-front-end-project.sh | |
# Builds a project directory based on the following pattern: | |
# | |
# /[target_directory] | |
# images/ | |
# content/ | |
# layout/ | |
# javascripts/ | |
# application.js | |
# vendor/ | |
# jquery-1.4.4.js | |
# jquery-1.4.4.min.js | |
# stylesheets/ | |
# screen.css | |
# vendor/ | |
# reset-2.0b2.css | |
# reset-2.0b2.min.css | |
# | |
# Source: https://github.com/jgarber623/html5-boilerplate | |
# Usage: ./create-front-end-project.sh foo | |
############################################################ | |
git clone git@github.com:jgarber623/html5-boilerplate.git $1; | |
rm -rf $1/.git; | |
rm $1/README.md; | |
find $1 -name ".gitignore" -delete; | |
mate $1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment