mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-29 01:03:52 +00:00
18 lines
335 B
Makefile
18 lines
335 B
Makefile
.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
|
|
|
|
U=node_modules/.bin/uglifyjs
|
|
index.js: $U
|
|
# cat js/*.js > index.js
|
|
cat js/*.js | $U > index.js || cat js/*.js > index.js
|