Skip to content

Commit

Permalink
Separate build step from linting
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo committed Aug 18, 2020
1 parent fc5eb20 commit bc83dae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Expand Up @@ -24,15 +24,14 @@ help: # prints all make targets
@cat Makefile | grep '^[^ ]*:' | grep -v '.PHONY' | grep -v help | sed 's/:.*#/#/' | column -s "#" -t

lint: # runs the linters
node_modules$/.bin$/tsc --noEmit
node_modules/.bin/tslint --project .
node_modules/.bin/prettier -l .

setup: # sets up the installation on this machine
node_modules/o-tools/bin/check-paths
yarn install

test: lint unit # runs all tests
test: build lint unit # runs all tests

unit: # runs the unit tests
@node_modules/.bin/mocha test/*-test.ts --reporter dot
Expand Down

0 comments on commit bc83dae

Please sign in to comment.