File tree 4 files changed +5
-6
lines changed
4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 5
5
hooks :
6
6
- go mod tidy
7
7
builds :
8
- - main : ./cmd /main.go
8
+ - main : ./gih /main.go
9
9
binary : gih
10
10
ldflags :
11
11
- -s -w
Original file line number Diff line number Diff line change 1
1
.PHONY : build install update restore tidy update_all outdated
2
2
3
3
build :
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
5
5
6
6
install :
7
- go install ./cmd
7
+ go install ./gih
8
8
9
9
update : update_all tidy
10
10
16
16
update_all :
17
17
go get -u -v ./...
18
18
19
- outdated :
20
- go list -m -u all
21
19
22
20
.PHONY : test
23
21
test :
Original file line number Diff line number Diff line change 45
45
``` shell
46
46
$ go install github.com/takecy/git-here/gih@latest
47
47
```
48
+
48
49
### via Binary
49
50
Download from [ Release Page] ( https://github.com/takecy/git-here/releases ) for your environment.
50
51
and copy binary to your ` $PATH ` .
@@ -83,7 +84,7 @@ It is to simplify development. You can start right away just by cloning.
83
84
```
84
85
$ git clone git@github.com:takecy/git-here.git
85
86
$ cd git-here
86
- $ DEBUG=* go run cmd /main.go version
87
+ $ DEBUG=* go run gih /main.go version
87
88
```
88
89
89
90
### Testing
File renamed without changes.
You can’t perform that action at this time.
0 commit comments