mirror of
https://github.com/3bbbeau/tfvars-atlantis-config.git
synced 2025-12-05 22:01:43 +00:00
v0.0.1
This commit is contained in:
17
justfile
Normal file
17
justfile
Normal file
@@ -0,0 +1,17 @@
|
||||
set dotenv-load := true
|
||||
|
||||
tool-golangci:
|
||||
@hash golangci-lint > /dev/null 2>&1; if [ $? -ne 0 ]; then \
|
||||
GOBIN="$(pwd)/tools/bin" go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest; \
|
||||
fi
|
||||
|
||||
lint: tool-golangci
|
||||
@$(pwd)/tools/bin/golangci-lint run -E gofumpt --timeout 1m
|
||||
|
||||
build:
|
||||
@go build -ldflags="-X 'github.com/3bbbeau/tfvars-atlantis-config/cmd.v=${VERSION}'"
|
||||
|
||||
test:
|
||||
@go test -cover ./...
|
||||
@go clean --testcache
|
||||
@go test ./... -v
|
||||
Reference in New Issue
Block a user