☕️ Classic, reliable, trusted test framework for Node.js and the browser
Make `mocha.js` compilable after altering `support/`
Guillermo Rauchb597acc164bf
diff --git a/Makefile b/Makefileindex 49c30016..f8218d6a 100644--- a/Makefile+++ b/Makefile@@ -3,14 +3,15 @@ REPORTER = dotTM_DEST = ~/Library/Application\ Support/TextMate/BundlesTM_BUNDLE = JavaScript\ mocha.tmbundleSRC = $(shell find lib -name "*.js" -type f)+SUPPORT = $(shell find support -name "*.js" -type f)all: mocha.js mocha.cssmocha.css: test/browser/style.csscp -f $< $@-mocha.js: $(SRC)- @node support/compile $^+mocha.js: $(SRC) $(SUPPORT)+ @node support/compile $(SRC)@cat support/head.js _mocha.js support/{tail,foot}.js > mocha.jsclean: