-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
57 lines (46 loc) · 1.17 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
#
# Makefile by Stoney
#
all: usage
SCRIPT=go-funcs.sh
EDITOR=vim
# ---------------------------------------------------------------------------
usage:
@echo "usage: make [edit|run|copy|git]"
# ---------------------------------------------------------------------------
edit e:
@echo "make (edit) [sh|readme|make]"
edit-make em:
$(EDITOR) Makefile
edit-readme er:
$(EDITOR) README.md
edit-history eh:
$(EDITOR) HISTORY.md
edit-sh es:
$(EDITOR) $(SCRIPT)
# ---------------------------------------------------------------------------
run r:
./$(SCRIPT)
copy cp:
#cp ~/.bashrc go-funcs.sh
#vi go-funcs.sh
cp ~/.zshrc zshrc
# ---------------------------------------------------------------------------
git g:
@echo "make (git) [update|login|tag|status]"
git-update gu:
git add .
git commit -m "update,$(USER)"
git push
git-login gl:
git config --global user.email "[email protected]"
git config --global user.name "Stoney Kang"
git config --global push.default simple
git config credential.helper store
git-tag gt:
git tag v1.0.5
git push --tags
git-status gs:
git status
git log --oneline -5
# ---------------------------------------------------------------------------