generated from iamogbz/node-js-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
25 lines (22 loc) · 922 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
upstream:
@git remote add upstream https://github.com/iamogbz/node-js-boilerplate
@git push origin master
@git push --all
@echo "upstream: remote successfully configured"
eject:
@git fetch --all --prune
@git checkout -b boilerplate-ejection
@git pull upstream master --allow-unrelated-histories --no-edit -Xours
@git pull upstream boilerplate-ejection --no-edit -Xours
@git reset master --soft && git add --all && git commit -m "chore: eject"
@echo "eject: branch created, complete by replacing placeholder values"
typescript:
@git fetch --all --prune
@git checkout -b typescript-conversion
@git pull upstream master --allow-unrelated-histories --no-edit -Xours
@git pull upstream typescript-conversion --no-edit -Xours
@git reset master --soft && git add --all && git commit -m "chore: typescript"
@echo "typescript: branch created, merge to master to complete coversion"
ifndef VERBOSE
.SILENT:
endif