Skip to content

Instantly share code, notes, and snippets.

@austinpray
Created February 26, 2015 16:32
Show Gist options
  • Save austinpray/bfd4ca0fc647608853a0 to your computer and use it in GitHub Desktop.
Save austinpray/bfd4ca0fc647608853a0 to your computer and use it in GitHub Desktop.
Test Sage Theme
#!/bin/bash
timestamp=$(date +%s)
workingDir="$timestamp-sage"
cloneRepo=true
if [ "$cloneRepo" = true ]; then
echo "## Cloning repo"
git clone https://github.com/roots/sage.git "$workingDir"
fi
echo "## System"
uname -a
echo "## Node version"
node -v
echo "## npm version"
npm -v
cd "$workingDir"
echo "## installing npm packages"
npm install
echo "## installing bower packages"
bower install
echo "## compiling"
gulp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment