forked from openshift/origin-web-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
48 lines (44 loc) · 875 Bytes
/
Makefile
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
43
44
45
46
47
48
.DEFAULT_GOAL := build
# Pull in dependencies
#
# Examples:
# make install
install:
hack/install-deps.sh
.PHONY: install
# Clean up all dependencies
#
# Args:
# GRUNT_FLAGS: Extra flags to pass to 'grunt test'
#
# Example:
# make clean
# make test GRUNT_FLAGS='--stack'
clean:
grunt clean $(GRUNT_FLAGS)
hack/clean-deps.sh
.PHONY: clean
# Run `grunt build`
#
# Args:
# GRUNT_FLAGS: Extra flags to pass to 'grunt build'
#
# Examples:
# make build
# make build GRUNT_FLAGS='--verbose'
build: install
grunt build $(GRUNT_FLAGS)
.PHONY: build
# Run all tests
#
# Args:
# GRUNT_FLAGS: Extra flags to pass to 'grunt test'
#
# Examples:
# make test
# make test GRUNT_FLAGS='--gruntfile=~/special/Gruntfile.js'
test: build
hack/verify-dist.sh
hack/test-headless.sh test $(GRUNT_FLAGS)
hack/test-headless.sh test-integration $(GRUNT_FLAGS)
.PHONY: test