From 8e12ecd7a3ccab63cd7a7d83a1d0b337c3decf01 Mon Sep 17 00:00:00 2001 From: David Schnur Date: Thu, 11 Apr 2013 21:21:06 -0400 Subject: [PATCH] Update JSHint pattern to include colorhelpers. --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 2e070d0..d9517e0 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,15 @@ -# Makefile for generating minified files +# Flot Makefile .PHONY: all -# we cheat and process all .js files instead of an exhaustive list +# The default behavior is to minify all our JavaScript files + all: $(patsubst %.js,%.min.js,$(filter-out %.min.js,$(wildcard *.js))) %.min.js: %.js yui-compressor $< -o $@ +# Flot's Travis test suite runs JSHint with the options in .jshintrc + test: - ./node_modules/.bin/jshint *jquery.flot.js + ./node_modules/.bin/jshint jquery.*.js