mirror of
https://github.com/khuedoan/homelab.git
synced 2025-07-30 14:49:06 +07:00
Improve makefile targets consistency
This commit is contained in:
15
Makefile
15
Makefile
@ -1,11 +1,17 @@
|
||||
.POSIX:
|
||||
|
||||
default: run
|
||||
default: apply
|
||||
|
||||
.PHONY: run
|
||||
run:
|
||||
.PHONY: metal
|
||||
metal:
|
||||
make -C metal
|
||||
|
||||
.PHONY: infra
|
||||
infra:
|
||||
make -C infra
|
||||
|
||||
.PHONY: apps
|
||||
apps:
|
||||
make -C apps
|
||||
|
||||
.PHONY: tools
|
||||
@ -15,3 +21,6 @@ tools:
|
||||
.PHONY: docs
|
||||
docs:
|
||||
make -C docs
|
||||
|
||||
.PHONY: apply
|
||||
apply: metal infra apps
|
||||
|
Reference in New Issue
Block a user