Skip to content

Instantly share code, notes, and snippets.

@derekbtw
Last active April 14, 2017 22:29
Show Gist options
  • Save derekbtw/424422a988a389fa939ea253826c576c to your computer and use it in GitHub Desktop.
Save derekbtw/424422a988a389fa939ea253826c576c to your computer and use it in GitHub Desktop.
Start new SASS Starter Project
#!/bin/bash -
#title :Create Sass Project
#description :Start a new Sass project using github.com/scotch-io/less-or-sass-starter.git
#backtitle :Sass Starter
#author :derekbtw
#version :1.0
#==============================================================================
today=$(date +%m%d%Y)
div=======================================
repo="https://github.com/scotch-io/less-or-sass-starter.git"
echo -n "Name of project: "
read name
echo
git clone "$repo" "$name" && cd "$name"
npm install
gulp
if [ $? == 0 ]; then
echo "No project name given..."
exit 1
elif [ "$name" == 1 ]; then
echo "$name has been created..."
exit 1
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment