xsheetjs/demos/requirejs/Makefile
2017-09-24 19:40:09 -04:00

11 lines
386 B
Makefile

TOOL=requirejs
.PHONY: all
all: $(TOOL).js
.PHONY: $(TOOL).js
$(TOOL).js:
if [ ! -e require.js ]; then curl -O http://requirejs.org/docs/release/2.3.3/comments/require.js; fi
if [ ! -e r.js ]; then curl -O http://requirejs.org/docs/release/2.3.3/r.js; fi
rm -f xlsx.full.min.js; ln -s ../../dist/xlsx.full.min.js
node r.js -o build.js paths.requireLib=./require include=requireLib