Add build to update-gh-pages.sh.

master
Artem Sapegin 2013-04-23 11:36:24 +04:00
parent 4590d4dceb
commit 3fc53207cd
2 changed files with 4 additions and 0 deletions

View File

@ -63,5 +63,6 @@ module.exports = function(grunt) {
});
grunt.registerTask('default', ['jshint', 'uglify', 'imgo', 'stylus', 'csso']);
grunt.registerTask('build', ['uglify', 'imgo', 'stylus', 'csso']);
};

View File

@ -2,6 +2,9 @@
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/