Skip to content

Commit

Permalink
drop bower support
Browse files Browse the repository at this point in the history
- remove dist file from VCS
- absolves need for `BUILDTMP/mocha.js`; removed
- add dist file to `.gitignore`
- update `Makefile` accordingly
- update `preversion` and `prepublishOnly` scripts
- update `files` prop of `package.json` (`LICENSE` is an auto-add)
  • Loading branch information
boneskull committed Oct 1, 2017
1 parent 58a4c6a commit 92beda9
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 16,639 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
coverage/
mocha.js
BUILDTMP
*.fixture.js
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ npm-debug.log*
*.orig
.nyc_output/
coverage/
BUILDTMP/
yarn.lock
package-lock.json
mocha.js
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ TESTS = $(shell find test -name "*.js" -type f | sort)

all: mocha.js

mocha.js BUILDTMP/mocha.js: $(SRC) browser-entry.js
mocha.js: $(SRC) browser-entry.js
@printf "==> [Browser :: build]\n"
mkdir -p ${@D}
$(BROWSERIFY) ./browser-entry \
Expand All @@ -30,21 +30,21 @@ mocha.js BUILDTMP/mocha.js: $(SRC) browser-entry.js

clean:
@printf "==> [Clean]\n"
rm -rf BUILDTMP
rm -f mocha.js

lint:
@printf "==> [Test :: Lint]\n"
npm run lint

test-node: test-bdd test-tdd test-qunit test-exports test-unit test-integration test-jsapi test-compilers test-requires test-reporters test-only test-global-only

test-browser: clean BUILDTMP/mocha.js test-browser-unit test-browser-bdd test-browser-qunit test-browser-tdd test-browser-exports
test-browser: clean mocha.js test-browser-unit test-browser-bdd test-browser-qunit test-browser-tdd test-browser-exports

test: lint test-node test-browser

test-browser-unit:
@printf "==> [Test :: Browser]\n"
NODE_PATH=BUILDTMP $(KARMA) start --single-run
NODE_PATH=. $(KARMA) start --single-run

test-browser-bdd:
@printf "==> [Test :: Browser :: BDD]\n"
Expand Down
38 changes: 0 additions & 38 deletions bower.json

This file was deleted.

Loading

0 comments on commit 92beda9

Please sign in to comment.