-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (32 loc) · 1.17 KB
/
Makefile
File metadata and controls
42 lines (32 loc) · 1.17 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
PROJDIR = $(realpath $(CURDIR))
VERBOSITY = normal
GRUNT=$(PROJDIR)/node_modules/grunt-cli/bin/grunt
.PHONY: all install-deps help test unit-test integration-test integration-test-hll security-test publish
all: test
install-deps:
$(PROJDIR)/build/install-deps $(PROJDIR)
lint:
$(GRUNT) lint
unit-test:
$(GRUNT) unit:$(SUITE)
integration-test:
$(GRUNT) integration
security-test:
$(GRUNT) security
test:
$(GRUNT)
publish:
$(PROJDIR)/build/publish $(VERSION)
help:
@echo ''
@echo ' Targets:'
@echo '-----------------------------------------------------------------'
@echo ' all - Run everything '
@echo ' lint - Run jshint '
@echo ' install-deps - Install required dependencies '
@echo ' test - Run unit & integration tests '
@echo ' unit-test [SUITE=suite_name] - Run unit tests '
@echo ' integration-test - Run integration tests '
@echo ' security-test - Run security tests '
@echo '-----------------------------------------------------------------'
@echo ''