@@ -43,15 +43,11 @@ tasks:
43
43
cmds :
44
44
- task : lint-dotenv
45
45
- task : lint-stackup
46
+ - task : lint-spell
46
47
47
48
update-version-file :
48
- # status:
49
- # don't run this task in CI
50
- # - '[ "$CI" == "" ]'
51
49
cmds :
52
- - printf "running update-version-file"
53
50
- go run tools/generate-version-file.go
54
- - printf "ran update-version-file"
55
51
56
52
lint-dotenv :
57
53
desc : Lints all dotenv files
@@ -60,6 +56,17 @@ tasks:
60
56
cmds :
61
57
- dotenv-linter {{.DOTENV_FILES}}
62
58
59
+ lint-spell :
60
+ desc : Check for typos in filenames and source code
61
+ ignore_error : true
62
+ preconditions :
63
+ - which typos
64
+ vars :
65
+ SRC_DIRS :
66
+ sh : " /bin/ls -1F | grep '/' | egrep -v '(\\ ..+|build|dist|assets|tools)' | tr -s '\\ n/' ' '"
67
+ cmds :
68
+ - typos ./lib ./templates ./README.md
69
+
63
70
lint-stackup :
64
71
desc : Runs golangci-lint
65
72
vars :
@@ -116,11 +123,6 @@ tasks:
116
123
update-checksums :
117
124
dir : templates/remote-includes
118
125
cmds :
119
- - sha256sum containers.yaml > containers.yaml.sha256
120
- - sha256sum laravel.yaml > laravel.yaml.sha256
121
- - sha256sum node.yaml > node.yaml.sha256
122
- - sha256sum php.yaml > php.yaml.sha256
123
- - sha256sum python.yaml > python.yaml.sha256
124
126
- sha256sum *.yaml > checksums.sha256.txt
125
127
- task : commit-updated-checksums
126
128
@@ -129,5 +131,13 @@ tasks:
129
131
internal : true
130
132
silent : true
131
133
cmds :
132
- - git add templates/remote-includes/*.sha256 templates/remote-includes/ checksums.*.txt
134
+ - git add templates/remote-includes/checksums.*.txt
133
135
- git commit -m "update checksum files"
136
+
137
+ autobuild :
138
+ interactive : true
139
+ desc : Watches for changes and automatically rebuilds the project binary, displays a minimal system notification on start/finish
140
+ preconditions :
141
+ - which watchexec
142
+ cmds :
143
+ - watchexec --exts go --fs-events create,modify,remove -N --debounce 300 -w ./lib -- task build -f
0 commit comments