mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
* simplify test/pkg/Makefile Signed-off-by: Avi Deitcher <avi@deitcher.net> * ensure pkg and test/pkg built before downstream workflows in CI Signed-off-by: Avi Deitcher <avi@deitcher.net> Signed-off-by: Avi Deitcher <avi@deitcher.net>
22 lines
423 B
Makefile
22 lines
423 B
Makefile
DIRS = $(dir $(shell find . -maxdepth 2 -mindepth 2 -type f -name build.yml | sort))
|
|
.PHONY: push forcepush build forcebuild show-tag clean
|
|
|
|
OPTIONS ?=
|
|
|
|
push:
|
|
linuxkit pkg push $(OPTIONS) $(DIRS)
|
|
|
|
forcepush:
|
|
linuxkit pkg push $(OPTIONS) --force $(DIRS)
|
|
|
|
build:
|
|
linuxkit pkg build $(OPTIONS) $(DIRS)
|
|
|
|
forcebuild:
|
|
linuxkit pkg build $(OPTIONS) --force $(DIRS)
|
|
|
|
show-tag:
|
|
linuxkit pkg show-tag $(OPTIONS) $(DIRS)
|
|
|
|
clean:
|