Skip to content

Commit

Permalink
feat: provide justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Sep 29, 2024
1 parent 8cf7437 commit 1868305
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
default:
@just --list

# build nats-blackbox-exporter binary
build:
go build -o nats-blackbox-exporter ./cmd/nats-blackbox-exporter

# update go packages
update:
@cd ./cmd/nats-blackbox-exporter && go get -u

# run tests
test:
go test -v ./... -covermode=atomic -coverprofile=coverage.out

# run golangci-lint
lint:
golangci-lint run -c .golangci.yml

0 comments on commit 1868305

Please sign in to comment.