Skip to content

Commit 9300c09

Browse files
committed
build: normalize the Makefile format
I'm nit picky about these things. Signed-off-by: Paul Moore <[email protected]>
1 parent 206feef commit 9300c09

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Makefile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# libseccomp-golang
22

3+
.PHONY: all check check-build check-syntax fix-syntax vet test lint
4+
5+
all: check-build
6+
7+
check: vet test
8+
39
check-build:
410
go build
511

@@ -18,8 +24,3 @@ test:
1824
lint:
1925
@$(if $(shell which golint),true,$(error "install golint and include it in your PATH"))
2026
golint -set_exit_status
21-
22-
check: vet test
23-
24-
.PHONY: check-build check-syntax fix-syntax vet test lint check
25-
.DEFAULT_GOAL := check-build

0 commit comments

Comments
 (0)