X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=Makefile;h=2ab31deab0d7ec9f9f40962692486d0dd1eaa47a;hb=1f0f434a67305ccb3d54a0bbd16a1b6d9421fffb;hp=6829ebf955cc063c2ff69bcb8a45089fdb419a86;hpb=6ec8f3c24060951faaeb57ebe4d6066b5e123280;p=dygraphs.git diff --git a/Makefile b/Makefile index 6829ebf..2ab31de 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,4 @@ -# Run the generate-combined.sh script. -# This Makefile isn't really necessary, but it serves as a "indicator" -# to new users that they need to do a "build" of sorts. -# -# Dean Wampler March 22, 2010 +# You should run "npm install" before running any commands in this Makefile. all: test generate-combined generate-documentation @@ -41,7 +37,12 @@ clean-combined-test: clean rm dygraph-combined.js.map lint: - @./lint.sh + @./generate-combined.sh ls \ + | grep -v 'polyfills' \ + | xargs ./node_modules/.bin/jshint + +# Commands to run for continuous integration on Travis-CI +travis: test test-combined lint publish: ./generate-combined.sh