Skip to content

Commit

Permalink
Silence Makefile output
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo committed Oct 2, 2020
1 parent b1a8166 commit cd1852a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile
@@ -1,8 +1,8 @@
build: # builds the production version
@${CURDIR}/node_modules/.bin/tsc -p tsconfig-build.json
${CURDIR}/node_modules/.bin/tsc -p tsconfig-build.json

clean: # removes all build artifacts
@rm -rf dist
rm -rf dist

coverage: build # measures test coverage
${CURDIR}/node_modules/.bin/nyc node_modules/.bin/mocha --require source-map-support/register test/*-test.ts
Expand All @@ -13,7 +13,7 @@ fix: # runs the fixers
${CURDIR}/node_modules/.bin/prettier --write .

help: # prints all make targets
@cat Makefile | grep '^[^ ]*:' | grep -v '.PHONY' | grep -v help | sed 's/:.*#/#/' | column -s "#" -t
cat Makefile | grep '^[^ ]*:' | grep -v '.PHONY' | grep -v help | sed 's/:.*#/#/' | column -s "#" -t

lint: # runs the linters
${CURDIR}/node_modules/.bin/tslint --project .
Expand All @@ -26,7 +26,9 @@ setup: # sets up the installation on this machine
test: build lint unit # runs all tests

unit: # runs the unit tests
@${CURDIR}/node_modules/.bin/mocha test/*-test.ts --reporter dot
${CURDIR}/node_modules/.bin/mocha test/*-test.ts --reporter dot

update: # updates the dependencies
yarn upgrade --latest

.SILENT:

0 comments on commit cd1852a

Please sign in to comment.