mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 02:51:55 +00:00
Add make clean, .gitignore
Also tidy Makefile a bit Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
f65146c844
commit
dfd1cd9c1c
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
moby
|
7
Makefile
7
Makefile
@ -11,7 +11,6 @@ moby: $(DEPS) lint
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
@echo "+ $@: golint, gofmt, go vet"
|
||||
# golint
|
||||
@test -z "$(shell find . -type f -name "*.go" -not -path "./vendor/*" -not -name "*.pb.*" -exec golint {} \; | tee /dev/stderr)"
|
||||
# gofmt
|
||||
@ -25,6 +24,10 @@ test: moby
|
||||
./moby build test/test.yml
|
||||
rm moby test.tar
|
||||
|
||||
PHONY: install
|
||||
.PHONY: install
|
||||
install: moby
|
||||
cp -a $^ $(PREFIX)/bin/
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f moby
|
||||
|
Loading…
Reference in New Issue
Block a user