add Scripts to Rule Them All

This commit is contained in:
Jon Maddox
2015-09-14 22:53:49 -04:00
parent 8131f6936e
commit 6f71faf355
6 changed files with 75 additions and 0 deletions

8
script/upgrade Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
echo "Updating from GitHub..."
BRANCH=$(git rev-parse --abbrev-ref HEAD)
git pull origin $BRANCH
npm update
script/restart