Skip to content

Commit

Permalink
Makefile cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
epapbak committed Nov 7, 2023
1 parent dda3f65 commit 113479d
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SHELL := /bin/bash

.PHONY: default clean build fmt lint vet cyclo ineffassign shellcheck errcheck goconst gosec abcgo json-check openapi-check style run test test-postgres cover integration_tests rest_api_tests sqlite_db license before_commit help godoc install_docgo install_addlicense
.PHONY: default clean build fmt lint vet cyclo ineffassign shellcheck errcheck goconst gosec abcgo style run test test-postgres cover integration_tests rest_api_tests sqlite_db license before_commit help godoc install_docgo install_addlicense

SOURCES:=$(shell find . -name '*.go')
BINARY:=insights-results-aggregator-cleaner
Expand Down Expand Up @@ -58,14 +58,7 @@ abcgo: ## Run ABC metrics checker
@echo "Run ABC metrics checker"
./abcgo.sh ${VERBOSE}

json-check: ## Check all JSONs for basic syntax
@echo "Run JSON checker"
python3 utils/json_check.py

openapi-check:
./check_openapi.sh

style: fmt vet lint cyclo shellcheck errcheck goconst gosec ineffassign abcgo json-check ## Run all the formatting related commands (fmt, vet, lint, cyclo) + check shell scripts
style: fmt vet lint cyclo shellcheck errcheck goconst gosec ineffassign abcgo## Run all the formatting related commands (fmt, vet, lint, cyclo) + check shell scripts

run: ${BINARY} ## Build the project and executes the binary
./$^
Expand Down

0 comments on commit 113479d

Please sign in to comment.