-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
49 lines (33 loc) · 800 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.PHONY: scan
scan:
trivy fs .
go list -json -deps | nancy sleuth
.PHONY: build
build:
goreleaser build --clean
.PHONY: build-snapshot
build-snapshot:
goreleaser build --clean --snapshot --single-target
.PHONY: release-skip-publish
release-skip-publish:
goreleaser release --clean --skip=publish
.PHONY: release-snapshot
release-snapshot:
goreleaser release --clean --skip=publish --snapshot
.PHONY: lint
lint:
golangci-lint run ./...
.PHONY: changelog
changelog:
git-chglog -o CHANGELOG.md
##TODO:
.PHONY: test
test:
echo todo
.PHONY: gen-doc
gen-doc:
mkdir -p ./doc
./dist/oidc-server-demo_linux_amd64_v1/oidc-server documentation --dir ./doc
.PHONY: doc-site
doc-site:
podman run --rm -it -p 8000:8000 -v ${PWD}/www:/docs:z squidfunk/mkdocs-material