Add build to update-gh-pages.sh.
parent
4590d4dceb
commit
3fc53207cd
|
@ -63,5 +63,6 @@ module.exports = function(grunt) {
|
|||
});
|
||||
|
||||
grunt.registerTask('default', ['jshint', 'uglify', 'imgo', 'stylus', 'csso']);
|
||||
grunt.registerTask('build', ['uglify', 'imgo', 'stylus', 'csso']);
|
||||
|
||||
};
|
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue