Skip to content

Commit

Permalink
Cleanup Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
avakarev committed Sep 17, 2022
1 parent fcef953 commit bbb60e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
7 changes: 0 additions & 7 deletions .gosec.json

This file was deleted.

19 changes: 5 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,28 +1,19 @@
GO_MODULE := $(shell awk '/module/{print $$2; exit}' go.mod)
GO_BUILDMETA = github.com/avakarev/dotfiles-cli/internal/buildmeta


tidy:
@echo ">> Tidying..."
@go mod tidy

fmt:
@echo ">> Formatting..."
@go fmt ./...

vet:
@echo ">> Vetting..."
@go vet ./...

lint:
@echo ">> Running revive..."
@revive -config .revive.toml -formatter friendly ./...
@echo ">> Running staticcheck..."
@staticcheck ./...

vet:
@echo ">> Vetting..."
@go vet ./...

sec:
@echo ">> Auditing..."
@gosec -conf .gosec.json -quiet -tests ./...
@gosec -quiet -tests ./...

test:
@echo ">> Running tests..."
Expand Down

0 comments on commit bbb60e3

Please sign in to comment.