mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-04 00:18:53 +00:00
Merge pull request #45 from justincormack/clean
Add make clean, .gitignore
This commit is contained in:
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 -output tar test/test.yml
|
||||
rm moby test.tar
|
||||
|
||||
PHONY: install
|
||||
.PHONY: install
|
||||
install: moby
|
||||
cp -a $^ $(PREFIX)/bin/
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f moby
|
||||
|
Reference in New Issue
Block a user