Skip to content

Instantly share code, notes, and snippets.

@lzcabrera
Created November 13, 2014 22:57
Show Gist options
  • Save lzcabrera/696576b7e1be3be60f2c to your computer and use it in GitHub Desktop.
Save lzcabrera/696576b7e1be3be60f2c to your computer and use it in GitHub Desktop.
run dss before pushing to remote master
#!/bin/bash
BRANCH=`git rev-parse --abbrev-ref HEAD`
if [[ "$BRANCH" == "master" ]]; then
echo "Call grunt docs to update style guide"
cd build
echo $($pwd)
grunt docs
fi
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment