Move update script to src folder.

master
Artem Sapegin 2013-04-23 11:47:46 +04:00
parent ea9ff8d47c
commit 71cb4ad79e
2 changed files with 12 additions and 14 deletions

12
src/update-gh-pages.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
echo "Updating Social Likes on gh-pages…"
grunt build
cp ../social-likes.css ../../social-likes_gh-pages/src/
cp ../social-likes.min.js ../../social-likes_gh-pages/src/
cp social-likes.js ../../social-likes_gh-pages/src/
pushd ../../social-likes_gh-pages/
git commit -m "Update Social Likes." src
git push
popd

View File

@ -1,14 +0,0 @@
#!/bin/bash
echo "Updating Social Likes on gh-pages…"
pushd src/
grunt build
popd
cp social-likes.css ../social-likes_gh-pages/src/
cp social-likes.min.js ../social-likes_gh-pages/src/
cp src/social-likes.js ../social-likes_gh-pages/src/
pushd ../social-likes_gh-pages/
git commit -m "Update Social Likes." src
git push
popd