migrate to go-modules

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
Valentin Rothberg
2019-06-24 11:29:13 +02:00
parent a3211b73c6
commit d697456dc9
1000 changed files with 97470 additions and 48284 deletions

View File

@@ -0,0 +1,2 @@
default.json
fixtures

18
vendor/github.com/seccomp/containers-golang/Makefile generated vendored Normal file
View File

@@ -0,0 +1,18 @@
TAGS ?= seccomp
BUILDFLAGS := -tags "$(AUTOTAGS) $(TAGS)"
GO := go
PACKAGE := github.com/seccomp/containers-golang
sources := $(wildcard *.go)
default.json: $(sources)
$(GO) build -compiler gc $(BUILDFLAGS) ./cmd/generate.go
$(GO) build -compiler gc ./cmd/generate.go
$(GO) run ${BUILDFLAGS} cmd/generate.go
all: default.json
.PHONY: test-unit
test-unit:
$(GO) test $(BUILDFLAGS) $(shell $(GO) list ./... | grep -v ^$(PACKAGE)/vendor)
$(GO) test $(shell $(GO) list ./... | grep -v ^$(PACKAGE)/vendor)