1
0
mirror of https://github.com/rancher/os.git synced 2025-09-23 11:30:49 +00:00

cleanup build a little

This commit is contained in:
Ivan Mikushin
2015-09-09 13:25:25 +05:00
parent 94c7eca88e
commit 9031e27174

View File

@@ -36,7 +36,7 @@ $(DIST)/artifacts/initrd: bin/rancheros assets/docker $(BUILD)/kernel/ $(BUILD)/
DFS_IMAGE=$(DFS_IMAGE) ./scripts/mk-initrd.sh
$(DIST)/artifacts/rancheros.iso: $(DIST)/artifacts/initrd $(DIST)/artifacts/vmlinuz
$(DIST)/artifacts/rancheros.iso: minimal
./scripts/mk-rancheros-iso.sh
@@ -47,18 +47,16 @@ $(DIST)/artifacts/iso-checksums.txt: $(DIST)/artifacts/rancheros.iso
version:
@echo $(VERSION)
installer: $(DIST)/artifacts/initrd $(DIST)/artifacts/vmlinuz
installer: minimal
docker build -t $(IMAGE_NAME):$(VERSION) .
build-all: \
installer \
bin/rancheros \
$(DIST)/artifacts/initrd \
$(DIST)/artifacts/vmlinuz \
$(DIST)/artifacts/rancheros.iso \
$(DIST)/artifacts/iso-checksums.txt
build-all: minimal installer iso
minimal: $(DIST)/artifacts/initrd $(DIST)/artifacts/vmlinuz
iso: $(DIST)/artifacts/rancheros.iso $(DIST)/artifacts/iso-checksums.txt
integration-tests:
cd tests/integration && tox
.PHONY: build-all installer version bin/rancheros integration-tests
.PHONY: build-all minimal iso installer version bin/rancheros integration-tests