Skip to content

Commit 08abb93

Browse files
committed
add makefile
1 parent e1b91dc commit 08abb93

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
BINARY_NAME=hn
2+
BUILD_DIR=$(CURDIR)/bin
3+
ZSHRC_PATH=$(HOME)/.zshrc
4+
5+
build:
6+
go build -o $(CURDIR)/bin
7+
echo 'alias hn="$(BUILD_DIR)/$(BINARY_NAME)"' >> $(ZSHRC_PATH)
8+

0 commit comments

Comments
 (0)