chore: update taskfile to have guidance on next steps after init

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2023-07-06 17:00:44 -04:00
1 parent 0d17e11709
commit 2b5c1b1c98
1 file changed
+10 -2
+10 -2
View File
@@ -23,8 +23,16 @@ tasks:
desc: Initialize configuration files desc: Initialize configuration files
dir: "{{.TEMPLATE_DIR}}" dir: "{{.TEMPLATE_DIR}}"
cmds: cmds:
- cp -n vars/addons.sample.yaml vars/addons.yaml - cp --no-clobber vars/addons.sample.yaml vars/addons.yaml
- cp -n vars/config.sample.yaml vars/config.yaml - cp --no-clobber vars/config.sample.yaml vars/config.yaml
- cmd: echo "=== Configuration files copied ==="
silent: true
- cmd: echo "Proceed with updating the configuration files..."
silent: true
- cmd: echo "{{.TEMPLATE_DIR}}/vars/config.yaml"
silent: true
- cmd: echo "{{.TEMPLATE_DIR}}/vars/addons.yaml"
silent: true
status: status:
- test -f "{{.TEMPLATE_DIR}}/vars/addons.yaml" - test -f "{{.TEMPLATE_DIR}}/vars/addons.yaml"
- test -f "{{.TEMPLATE_DIR}}/vars/config.yaml" - test -f "{{.TEMPLATE_DIR}}/vars/config.yaml"