-
-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathmakefile
More file actions
18 lines (15 loc) · 564 Bytes
/
Copy pathmakefile
File metadata and controls
18 lines (15 loc) · 564 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Build the code, pretty trivial for a Node.js project.
build:
npm install
# Test the code. First lints, then runs the unit tests, checking coverage.
test: build
npm run lint
npm run test
# Run the CircleCI build locally.
# Install the CLI with: curl -fLSs https://circle.ci/cli | bash
circleci:
circleci config validate -c .circleci/config.yml
circleci build --job test
# Let make know that these commands are not folder or file names, but command
# names (otherwise a folder called 'test' could stop the test recipe working).
.PHONY: build test circleci