forked from egorFiNE/node-graylog
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (23 loc) · 655 Bytes
/
Makefile
File metadata and controls
31 lines (23 loc) · 655 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# target: help, Display callable targets.
help:
egrep "^# target:" [Mm]akefile
# target: setup, Do a full setup (currently an alias for git-setup).
setup: git-setup
# target: clean, Cleans the NPM cache.
clean:
npm cache clean
# target: install, Installs all NodeJS dependencies.
install:
npm install
# target: test, Runs all tests.
test:
npm test
# target: lint, Lints every JavaScript file in the project that are staged to be comitted.
lint:
./scripts/lint-staged.sh
# target: lint-all, Lints every JavaScript file in the project.
lint-all:
./scripts/lint-all.sh
# target: git-setup, Sets up git hooks.
git-setup:
./scripts/git-setup.sh