Bump enyo with uglify

This commit is contained in:
pancake 2013-09-15 23:13:25 +02:00
parent 16fdd4587b
commit 662fd4507e
2 changed files with 9 additions and 3 deletions

View File

@ -1,12 +1,17 @@
.PHONY: index.js
all: index.js
node_modules/.bin/uglifyjs:
mkdir -p node_modules
npm install uglify-js
upload:
rsync --safe-links -avz * radare.org:/srv/http/lolcathostorg/b/
debug:
cat js/*.js > index.js
index.js:
U=node_modules/.bin/uglifyjs
index.js: $U
# cat js/*.js > index.js
cat js/*.js | uglifyjs > index.js || cat js/*.js > index.js
cat js/*.js | $U > index.js || cat js/*.js > index.js

File diff suppressed because one or more lines are too long