Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (19 sloc) 558 Bytes
NODE_PATH ?= ./node_modules
JS_COMPILER = $(NODE_PATH)/uglify-js/bin/uglifyjs
JS_BEAUTIFIER = $(NODE_PATH)/uglify-js/bin/uglifyjs -b -i 2 -nm -ns
all: \
ZeroClipboard.min.js: Makefile
@rm -f $@
$(JS_COMPILER) ./src/javascript/ZeroClipboard.js > $@
git stash
git checkout gh-pages
git checkout master ZeroClipboard.min.js ZeroClipboard.swf
rm -f javascript/ZeroClipboard*
mv ZeroClipboard.* javascripts/
git add .
git commit -a -m "Update demo files to latest changes."
git push
git checkout master
git stash pop