-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmakefile
More file actions
50 lines (39 loc) · 746 Bytes
/
makefile
File metadata and controls
50 lines (39 loc) · 746 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
site_path=./src/ionic-ng/
.DEFAULT_GOAL:=all
# NOTE: Do not defer to project `all` since `install`
# is a little different in the root.
.PHONY: all
all: init check install
.PHONY: init
init:
@cd $(site_path) && "$(MAKE)" $@
.PHONY: check
check:
@cd $(site_path) && "$(MAKE)" $@
.PHONY: install
install:
@rm -rf ./docs/ \
&& cd $(site_path) \
&& "$(MAKE)" $@ \
&& cp -r ./www/ ../../docs/
.PHONY: search-index
search-index:
@cd $(site_path) && "$(MAKE)" $@
.PHONY: start
start:
@cd $(site_path) && "$(MAKE)" $@
.PHONY: dev
dev:
@cd $(site_path) && "$(MAKE)" $@
.PHONY: sync
sync:
@git-town sync
.PHONY: pr
pr:
@git-town new-pull-request
.PHONY: main
main:
@git sync
@git checkout main
@git sync
@git prune-branches