From 9fa5b5877714bb18240c7455f20cc9d642d9b179 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Sun, 16 May 2021 13:20:27 +0700 Subject: [PATCH] Change default global make targets --- Makefile | 20 +++++++------------- README.md | 8 +++----- 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/Makefile b/Makefile index 43e88866..5d13e8e8 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +1,17 @@ .POSIX: -default: tools +default: run + +.PHONY: run +run: + make -C metal + make -C infra + make -C apps .PHONY: tools tools: make -C tools -.PHONY: deploy -deploy: - make -C metal reset - make -C infra - make -C apps - -.PHONY: apply -apply: - make -C metal - make -C infra - make -C apps - .PHONY: docs docs: make -C docs diff --git a/README.md b/README.md index 36a14bab..80582328 100644 --- a/README.md +++ b/README.md @@ -45,15 +45,13 @@ For bare metal nodes: Open the tools container: ```sh -make +make tools ``` -Then build each layer: +Then build the homelab: ```sh -make metal -make infra -make apps +make ``` ## Acknowledgments