mirror of
https://github.com/containers/podman.git
synced 2025-12-02 19:28:58 +08:00
migrate to go-modules
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
2
vendor/github.com/seccomp/containers-golang/.gitignore
generated
vendored
Normal file
2
vendor/github.com/seccomp/containers-golang/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
default.json
|
||||
fixtures
|
||||
18
vendor/github.com/seccomp/containers-golang/Makefile
generated
vendored
Normal file
18
vendor/github.com/seccomp/containers-golang/Makefile
generated
vendored
Normal 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)
|
||||
Reference in New Issue
Block a user