refactor(configure)!: set configure as a make target

This commit is contained in:
Khue Doan 2022-03-14 23:37:21 +07:00
parent b5b821f3b4
commit 166c1a93e3
3 changed files with 5 additions and 6 deletions

View File

@ -4,6 +4,10 @@ default: metal bootstrap wait
all: metal bootstrap external wait
configure:
./scripts/configure
git status
.PHONY: metal
metal:
make -C metal

View File

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

View File

@ -94,10 +94,6 @@ def main() -> None:
[editor, 'metal/inventories/prod.yml']
)
subprocess.run(
["git", "diff"]
)
if __name__ == '__main__':
main()