-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (23 loc) · 803 Bytes
/
Makefile
File metadata and controls
28 lines (23 loc) · 803 Bytes
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
GO ?= go
check:
@${GO} vet ./...
@${GOPATH}/bin/staticcheck ./...
@${GOPATH}/bin/errcheck ./...
test:
@cd artifact/dtb && ${GO} test -cover -v
@cd artifact/initrd && ${GO} test -cover -v
@cd artifact/linux_kernel && ${GO} test -cover -v
@cd artifact/uefi_binary && ${GO} test -cover -v
@cd artifact/windows_bootmgr && ${GO} test -cover -v
@cd engine/sigsum && ${GO} test -cover -v
@cd engine/tessera && ${GO} test -cover -v
@cd policy && ${GO} test -cover -v
@cd transparency && ${GO} test -cover -v
docs:
@${GOPATH}/bin/gomarkdoc artifact/artifact.go policy/policy.go transparency/transparency.go > ./doc/API.md
tools:
@cd cmd/bt-statement && ${GO} build
@cd cmd/bt-policy && ${GO} build
@cd cmd/bt-proof-bundle && ${GO} build
examples:
@cd example/validate-bundle && ${GO} build