Skip to content

Commit bc7ae73

Browse files
committed
update makefile
1 parent 3ce3b64 commit bc7ae73

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

Makefile

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
.PHONY: cli
2-
cli:
3-
CGO_ENABLED=0 go build -o cmd cmd/cli/sicher.go
1+
path=cmd/sicher/main.go
42

5-
run-cli:
6-
go run cmd/cli/main.go init
3+
.PHONY: build
4+
build:
5+
CGO_ENABLED=0 go build -o cmd $(path)
6+
7+
init:
8+
go run $(path) init
9+
10+
edit:
11+
go run $(path) edit

0 commit comments

Comments
 (0)