-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
112 lines (89 loc) · 1.91 KB
/
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
.DEFAULT_GOAL := help
## Create a patch and copy it to windows
.PHONY : patch
patch : clean diff-patch copy2win-patch
## Create a patch
.PHONY : diff-patch
diff-patch :
mise tasks run patch:create
## Switch to master branch
.PHONY : switch-master
switch-master :
mise tasks run git:switch-master
## Run clean
.PHONY : clean
clean :
mise tasks run clean
## Run update
.PHONY : update
update :
mise tasks run update
## Copy game settings(Windows only)
.PHONY : copy-windows-game-settings
copy-windows-game-settings :
bash scripts/copy-windows-game-settings.sh
## Copy patch to Windows
.PHONY : copy2win-patch
copy2win-patch :
mise tasks run patch:copy2win
## Run lint
.PHONY : lint
lint :
mise tasks run lint
## Run format
.PHONY : format
format :
mise tasks run format
## Run test
.PHONY : test
test : lint
## Run fmt
.PHONY : fmt
fmt : format
## Run benchmark and append the results to the file
.PHONY : benchmark
benchmark :
mise tasks run benchmark
## Add commit message up to `origin/master` to CHANGELOG.md
.PHONY : changelog
changelog :
mise tasks run changelog
## Add commit message up to `origin/master` for mask to CHANGELOG.md
.PHONY : generate-commit-msg
generate-commit-msg :
mise tasks run generate-commit-msg
## Run generate-commit-msg
.PHONY : gcm
gcm : generate-commit-msg
## Run git cleanfetch
.PHONY : clean-fetch
clean-fetch :
mise tasks run git:fetch:clean-fetch
## Delete patch branch
.PHONY : delete-branch
delete-branch :
mise tasks run git:delete-branch
## Run git pull
.PHONY : pull
pull :
mise tasks run git:pull
## Run git push
.PHONY : push
push :
mise tasks run git:push
## Create a patch branch
.PHONY : patch-branch
patch-branch :
mise tasks run patch:branch
## Run workday morning routine
.PHONY : morning-routine
morning-routine :
mise tasks run git:morning-routine
## Run view
.PHONY : view
view :
mise tasks run view
## Show help
.PHONY : help
help :
@make2help $(MAKEFILE_LIST)