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:
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

View File

@ -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