Restructure project directories
Follow the standard of all go projects
This commit is contained in:
parent
741f18efd1
commit
5445ce1ccf
20 changed files with 39 additions and 42 deletions
|
|
@ -7,11 +7,12 @@ tasks:
|
|||
silent: true
|
||||
test:
|
||||
cmds:
|
||||
- go test $(find . -name "*.go" -exec dirname {} \; | uniq | grep '/') -cover
|
||||
- go test $(find './internal' -name "*.go" -exec dirname {} \; | uniq | grep '/') -cover
|
||||
build:
|
||||
dir: "cmd"
|
||||
cmds:
|
||||
- mkdir -p build
|
||||
- go build -o build/grm
|
||||
- mkdir -p ../build
|
||||
- go build -o ../build/grm
|
||||
|
||||
install:
|
||||
deps:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue