Restructure project directories

Follow the standard of all go projects
This commit is contained in:
Mikołaj Pęczkowski 2024-01-13 15:39:40 +01:00
parent 741f18efd1
commit 5445ce1ccf
20 changed files with 39 additions and 42 deletions

View file

@ -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: