Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

fix mocha.js target

Christopher Hiller19131e39ce98
diff --git a/Makefile b/Makefile
index f26f663c..95a8df20 100644
--- a/Makefile
+++ b/Makefile
@@ -6,11 +6,10 @@ REPORTER ?= spec
TM_BUNDLE = JavaScript\ mocha.tmbundle
SRC = $(shell find lib -name "*.js" -type f | sort)
TESTS = $(shell find test -name "*.js" -type f | sort)
-SUPPORT = $(wildcard support/*.js)
all: mocha.js
-mocha.js: $(SRC) $(SUPPORT)
+mocha.js: $(SRC) browser-entry.js
@printf "==> [Browser :: build]\n"
@$(BROWSERIFY) ./browser-entry \
--ignore 'fs' \