From c0db98cad530f19052d6fa470bfe32d594607604 Mon Sep 17 00:00:00 2001 From: Robert Konigsberg Date: Sat, 24 Nov 2012 11:44:08 -0500 Subject: [PATCH] Some Makefile fun - * new lint and clean commands, * add test to generate-combined --- .dygraph-combined-clean.js | 7 +++++++ Makefile | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .dygraph-combined-clean.js diff --git a/.dygraph-combined-clean.js b/.dygraph-combined-clean.js new file mode 100644 index 0000000..e6380de --- /dev/null +++ b/.dygraph-combined-clean.js @@ -0,0 +1,7 @@ +This is not the file you are looking for. +A reasonably up-to-date version can be found at http://dygraphs.com/dygraph-combined.js + +dygraph-combined.js is a "packed" version of the larger dygraphs JS files. It is +smaller and loads more quickly, but is harder to debug. + +To generate this file, run "make" or generate-combined.sh. diff --git a/Makefile b/Makefile index 6a645a5..b5e812d 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,10 @@ # # Dean Wampler March 22, 2010 -all: generate-combined +all: test generate-combined + +clean: + @cp .dygraph-combined-clean.js dygraph-combined.js generate-combined: @echo Generating dygraph-combined.js @@ -18,3 +21,6 @@ generate-gwt: test: @./test.sh + +lint: + @./lint.sh -- 2.7.4