2017-03-05 00:56:31 +00:00
|
|
|
TOOL=requirejs
|
|
|
|
.PHONY: all
|
|
|
|
all: $(TOOL).js
|
|
|
|
|
|
|
|
.PHONY: $(TOOL).js
|
|
|
|
$(TOOL).js:
|
2021-09-21 03:41:37 +00:00
|
|
|
if [ ! -e require.js ]; then curl -LO http://requirejs.org/docs/release/2.3.3/comments/require.js; fi
|
|
|
|
if [ ! -e r.js ]; then curl -LO http://requirejs.org/docs/release/2.3.3/r.js; fi
|
2017-08-05 06:32:57 +00:00
|
|
|
rm -f xlsx.full.min.js; ln -s ../../dist/xlsx.full.min.js
|
2017-09-24 23:40:09 +00:00
|
|
|
node r.js -o build.js paths.requireLib=./require include=requireLib
|