-
Notifications
You must be signed in to change notification settings - Fork 0
/
rich.mk
38 lines (29 loc) · 1.06 KB
/
rich.mk
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
RICH_PREFIX=src/static/js/vendor/famous/rich/
.PHONY: rich-pull rich-push rich-branch rich-update rich-install rich-remote rich-readtree rich-subtree-clean
rich-install: rich-remote rich-readtree
rich-remote:
git remote add -f rich [email protected]:blitzagency/rich.git
git checkout -b rich rich/develop
rich-readtree:
git checkout master
git read-tree --prefix=$(RICH_PREFIX) -u rich:rich
git commit -am "rich readtree"
rich-branch:
-git checkout rich
rich-update: rich-branch
-git pull
rich-push: rich-subtree-clean rich-update
git checkout master
git subtree split --prefix=$(RICH_PREFIX) -b subtree/rich
git checkout rich
git merge --squash -s subtree --no-commit -X subtree=rich/ -X theirs subtree/rich
git branch -D subtree/rich
rich-pull: rich-subtree-clean rich-update
-git checkout rich
git subtree split --prefix=rich/ -b subtree/rich
git checkout master
git merge --squash -s subtree --no-commit -X subtree=$(RICH_PREFIX) -X theirs subtree/rich
-git commit -am "rich update"
git branch -D subtree/rich
rich-subtree-clean:
-git branch -D subtree/rich