-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
59 lines (47 loc) · 882 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
49
50
51
52
53
54
55
56
57
58
59
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
# kept for posterity
# .PHONY: create
# create:
# @npx @ionic/cli start \
# fiddlit \
# blank \
# --type=angular \
# --no-git