Skip to content

Commit

Permalink
feat: add justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Sep 16, 2024
1 parent 25cdedd commit 7d8920c
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 mqtt-blackbox-exporter binary
build:
go build -o mqtt-blackbox-exporter ./cmd/mqtt-blackbox-exporter

# update go packages
update:
@cd ./cmd/mqtt-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 7d8920c

Please sign in to comment.