initial commit
This commit is contained in:
20
Taskfile.yml
Normal file
20
Taskfile.yml
Normal file
@ -0,0 +1,20 @@
|
||||
version: '3'
|
||||
|
||||
env:
|
||||
CGO_ENABLED: 0
|
||||
GOBIN: "{{.USER_WORKING_DIR}}/bin"
|
||||
PROJECT: "git.loyso.art/frx/kurious"
|
||||
|
||||
tasks:
|
||||
install_tools:
|
||||
cmds:
|
||||
- go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2
|
||||
check:
|
||||
cmds:
|
||||
- "$GOBIN/golangci-lint run ./..."
|
||||
test:
|
||||
cmds:
|
||||
- go test --count=1 ./internal/...
|
||||
build:
|
||||
cmds:
|
||||
- go build -o $GOBIN/sravnicli -v -ldflags "-X '$PROJECT.version=ohwell'" cmd/dev/sravnicli/main.go
|
||||
Reference in New Issue
Block a user