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 520b0120..0253820a 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 . vet: @@ -29,6 +30,7 @@ install: clean: rm runc + rm $(CURDIR)/Godeps/_workspace/src/github.com/opencontainers/runc validate: vet script/validate-gofmt