File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed
Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 55 hooks :
66 - go mod tidy
77builds :
8- - main : ./cmd /main.go
8+ - main : ./gih /main.go
99 binary : gih
1010 ldflags :
1111 - -s -w
Original file line number Diff line number Diff line change 11.PHONY : build install update restore tidy update_all outdated
22
33build :
4- go build -o gih_dev -ldflags " -X main.version='0.0.1-test'" ./cmd
4+ go build -o gih_dev -ldflags " -X main.version='0.0.1-test'" ./gih
55
66install :
7- go install ./cmd
7+ go install ./gih
88
99update : update_all tidy
1010
1616update_all :
1717 go get -u -v ./...
1818
19- outdated :
20- go list -m -u all
2119
2220.PHONY : test
2321test :
Original file line number Diff line number Diff line change 4545``` shell
4646$ go install github.com/takecy/git-here/gih@latest
4747```
48+
4849### via Binary
4950Download from [ Release Page] ( https://github.com/takecy/git-here/releases ) for your environment.
5051and copy binary to your ` $PATH ` .
@@ -83,7 +84,7 @@ It is to simplify development. You can start right away just by cloning.
8384```
8485$ git clone [email protected] :takecy/git-here.git 8586$ cd git-here
86- $ DEBUG=* go run cmd /main.go version
87+ $ DEBUG=* go run gih /main.go version
8788```
8889
8990### Testing
File renamed without changes.
You can’t perform that action at this time.
0 commit comments