Skip to content

Instantly share code, notes, and snippets.

@jgarber623
Created January 14, 2011 22:25
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgarber623/780393 to your computer and use it in GitHub Desktop.
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.
#!/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