Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (23 sloc) 664 Bytes
# d3-x3d Makefile
COMPRESS_FILES := dist/d3-x3d.js \
dist/d3-x3d.min.js \
README.md \
LICENSE.md
all: js css min zip docs
.PHONY: js css min zip docs
js:
@echo Compiling JS Files...
@rm -f dist/d3-x3d.js
@./node_modules/rollup/dist/bin/rollup -c config/rollup.config.js
min:
@echo Minifying...
@rm -f dist/d3-x3d.min.js
@./node_modules/uglify-es/bin/uglifyjs dist/d3-x3d.js > dist/d3-x3d.min.js
zip: $(COMPRESS_FILES)
@echo Zipping...
@rm -f dist/d3-x3d.zip
@zip -qj dist/d3-x3d.zip $^
docs:
@echo Generating Docs...
@rm -rf docs
@node ./node_modules/jsdoc/jsdoc.js -c config/jsdoc.conf.json
You can’t perform that action at this time.