Skip to content

Instantly share code, notes, and snippets.

@fredoliveira
Created August 6, 2011 22:45
Show Gist options
  • Select an option

  • Save fredoliveira/1129844 to your computer and use it in GitHub Desktop.

Select an option

Save fredoliveira/1129844 to your computer and use it in GitHub Desktop.
Bootstrap script
#!/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