mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 20:14:32 +07:00
refactor(configure)!: set configure as a make target
This commit is contained in:
parent
b5b821f3b4
commit
166c1a93e3
4
Makefile
4
Makefile
@ -4,6 +4,10 @@ default: metal bootstrap wait
|
||||
|
||||
all: metal bootstrap external wait
|
||||
|
||||
configure:
|
||||
./scripts/configure
|
||||
git status
|
||||
|
||||
.PHONY: metal
|
||||
metal:
|
||||
make -C metal
|
||||
|
@ -31,7 +31,7 @@ make tools
|
||||
Run the following script to configure the homelab:
|
||||
|
||||
```sh
|
||||
./configure.py
|
||||
make configure
|
||||
```
|
||||
|
||||
Example input:
|
||||
@ -39,7 +39,6 @@ Example input:
|
||||
<!-- TODO update example input -->
|
||||
|
||||
```
|
||||
$ ./configure.py
|
||||
Text editor (nvim):
|
||||
Enter seed repo (github.com/khuedoan/homelab): github.com/example/homelab
|
||||
Enter your domain (khuedoan.com): example.com
|
||||
|
4
configure.py → scripts/configure
vendored
4
configure.py → scripts/configure
vendored
@ -94,10 +94,6 @@ def main() -> None:
|
||||
[editor, 'metal/inventories/prod.yml']
|
||||
)
|
||||
|
||||
subprocess.run(
|
||||
["git", "diff"]
|
||||
)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
Loading…
Reference in New Issue
Block a user