Created
August 6, 2011 22:45
-
-
Save fredoliveira/1129844 to your computer and use it in GitHub Desktop.
Bootstrap script
This file contains hidden or 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/sh | |
| if [ -z "$1" ]; then | |
| echo usage: $0 directory | |
| exit | |
| fi | |
| OUTPUTDIR=$1 | |
| # clone our main tree | |
| git clone git://github.com/fredoliveira/bootstrap.git $OUTPUTDIR > /dev/null 2>&1 | |
| cd $OUTPUTDIR | |
| # clean it up | |
| bash bootstrap.sh > /dev/null 2>&1 | |
| rm -rf .git | |
| rm bootstrap.sh | |
| rm README.markdown | |
| # clone mdo's bootstrap less | |
| git clone https://github.com/markdotto/Bootstrap.less.git bootstrap | |
| mv bootstrap/bootstrap.less css | |
| # and clean that up too | |
| rm -rf bootstrap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment