Skip to content

Commit

Permalink
remove build target
Browse files Browse the repository at this point in the history
  • Loading branch information
pirxpilot committed Feb 7, 2024
1 parent 5a82621 commit cd9c537
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NODE_BIN=./node_modules/.bin
PROJECT=vis-why

all: check compile
all: check

check: lint test

Expand All @@ -11,22 +11,14 @@ lint: node_modules
test: node_modules
$(NODE_BIN)/mocha --require should test

benchmark:
benchmark: node_modules
$(NODE_BIN)/matcha --reporter plain benchmark

compile: build/build.js

build/build.js: node_modules index.js
mkdir -p build
browserify --require ./index.js:$(PROJECT) --outfile $@

node_modules: package.json
npm install && touch $@

clean:
rm -fr build
yarn
touch $@

distclean: clean
distclean:
rm -fr node_modules

.PHONY: clean distclean lint check all compile test benchmark
.PHONY: clean distclean lint check all test benchmark

0 comments on commit cd9c537

Please sign in to comment.