From 71cb4ad79e0d076a98d504d133382a2f3031d0e0 Mon Sep 17 00:00:00 2001 From: Artem Sapegin Date: Tue, 23 Apr 2013 11:47:46 +0400 Subject: [PATCH] Move update script to src folder. --- src/update-gh-pages.sh | 12 ++++++++++++ update-gh-pages.sh | 14 -------------- 2 files changed, 12 insertions(+), 14 deletions(-) create mode 100755 src/update-gh-pages.sh delete mode 100755 update-gh-pages.sh diff --git a/src/update-gh-pages.sh b/src/update-gh-pages.sh new file mode 100755 index 0000000..2833523 --- /dev/null +++ b/src/update-gh-pages.sh @@ -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 \ No newline at end of file diff --git a/update-gh-pages.sh b/update-gh-pages.sh deleted file mode 100755 index df34572..0000000 --- a/update-gh-pages.sh +++ /dev/null @@ -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 \ No newline at end of file