Fix install command
This commit is contained in:
parent
9f4d85e707
commit
8cd3ed2127
@ -5,17 +5,22 @@ tasks:
|
|||||||
cmds:
|
cmds:
|
||||||
- go mod download
|
- go mod download
|
||||||
silent: true
|
silent: true
|
||||||
|
|
||||||
test:
|
test:
|
||||||
cmds:
|
cmds:
|
||||||
- go test $(find './internal' -name "*.go" -exec dirname {} \; | uniq | grep '/') -cover
|
- go test $(find './internal' -name "*.go" -exec dirname {} \; | uniq | grep '/') -cover
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dir: "cmd"
|
dir: "cmd"
|
||||||
|
deps:
|
||||||
|
- pull
|
||||||
cmds:
|
cmds:
|
||||||
- mkdir -p ../build
|
- mkdir -p ../build
|
||||||
- go build -o ../build/grm
|
- go build -o ../build/grm
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
dir: "build"
|
||||||
deps:
|
deps:
|
||||||
- build
|
- build
|
||||||
cmds:
|
cmds:
|
||||||
- go install .
|
- cp grm ${GOPATH}/bin/grm
|
||||||
|
Loading…
Reference in New Issue
Block a user