diff --git a/.gitignore b/.gitignore index 41b84182..266ee084 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ vendor/pkg -runc +/runc +Godeps/_workspace/src/github.com/opencontainers/runc diff --git a/Makefile b/Makefile index a7089722..97150d03 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ BUILDTAGS=seccomp export GOPATH:=$(CURDIR)/Godeps/_workspace:$(GOPATH) all: + ln -sfn $(CURDIR) $(CURDIR)/Godeps/_workspace/src/github.com/opencontainers/runc go build -tags "$(BUILDTAGS)" -o runc . static: @@ -32,6 +33,7 @@ install: clean: rm runc + rm $(CURDIR)/Godeps/_workspace/src/github.com/opencontainers/runc validate: vet script/validate-gofmt