-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (16 loc) · 696 Bytes
/
Makefile
File metadata and controls
20 lines (16 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
HORUSEC ?= horusec
GO ?= go
ADDLICENSE ?= addlicense
license:
$(GO) get -u github.com/google/addlicense
@$(ADDLICENSE) -check -f ./copyright.txt $(shell find . -type f -not -path "./.git/*" -not -path "./csharp/example2/*" | sort -u)
license-fix:
$(GO) get -u github.com/google/addlicense
@$(ADDLICENSE) -f ./copyright.txt $(shell find . -type f -not -path "./.git/*" -not -path "./csharp/example2/*" | sort -u)
security:
ifeq (, $(shell which $(HORUSEC)))
curl -fsSL https://raw.githubusercontent.com/ZupIT/horusec/main/deployments/scripts/install.sh | bash -s latest
$(HORUSEC) start -p="./" -G="true" -I="true"
else
$(HORUSEC) start -p="./" -G="true" -I="true"
endif