clean:
@echo cleaning...
@cp .dygraph-combined-clean.js dygraph-combined.js
- rm docs/options.html
+ rm -f docs/options.html
generate-combined:
@echo Generating dygraph-combined.js
test:
@./test.sh
+ @./check-combined-unaffected.sh
+
+test-combined: move-combined test clean-combined-test
+
+move-combined: generate-combined
+ mv dygraph-combined.js dygraph-dev.js
+
+clean-combined-test: clean
+ @echo restoring combined
+ git checkout dygraph-dev.js
lint:
@./lint.sh
+
+publish:
+ ./generate-combined.sh
+ npm publish
+ git checkout dygraph-combined.js