Change default global make targets

This commit is contained in:
Khue Doan 2021-05-16 13:20:27 +07:00
parent 54f4eb570d
commit 9fa5b58777
2 changed files with 10 additions and 18 deletions

View File

@ -1,23 +1,17 @@
.POSIX: .POSIX:
default: tools default: run
.PHONY: run
run:
make -C metal
make -C infra
make -C apps
.PHONY: tools .PHONY: tools
tools: tools:
make -C 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 .PHONY: docs
docs: docs:
make -C docs make -C docs

View File

@ -45,15 +45,13 @@ For bare metal nodes:
Open the tools container: Open the tools container:
```sh ```sh
make make tools
``` ```
Then build each layer: Then build the homelab:
```sh ```sh
make metal make
make infra
make apps
``` ```
## Acknowledgments ## Acknowledgments