Skip to content

Commit

Permalink
update Makefile to defer to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed May 21, 2016
1 parent 0b856b5 commit e06f46a
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,8 @@ TM_BUNDLE = JavaScript\ mocha.tmbundle
SRC = $(shell find lib -name "*.js" -type f | sort)
SUPPORT = $(wildcard support/*.js)

all: mocha.js

mocha.js: $(SRC) $(SUPPORT)
@$(BROWSERIFY) ./support/browser-entry \
--ignore 'fs' \
--ignore 'glob' \
--ignore 'jade' \
--ignore 'path' \
--ignore 'supports-color' \
--exclude './lib-cov/mocha' > $@
all:
npm run build

clean:
rm -f mocha.js
Expand Down Expand Up @@ -152,4 +144,4 @@ non-tty:
tm:
@open editors/$(TM_BUNDLE)

.PHONY: test-cov test-jsapi test-compilers watch test test-all test-bdd test-tdd test-qunit test-exports test-unit test-integration non-tty tm clean
.PHONY: all test-cov test-jsapi test-compilers watch test test-all test-bdd test-tdd test-qunit test-exports test-unit test-integration non-tty tm clean

0 comments on commit e06f46a

Please sign in to comment.