🔧 Add: Taskfile config
This commit is contained in:
parent
c90f133543
commit
7feea0a21a
1 changed files with 31 additions and 0 deletions
31
Taskfile.yml
Normal file
31
Taskfile.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
# https://taskfile.dev
|
||||
|
||||
version: '3'
|
||||
|
||||
tasks:
|
||||
default:
|
||||
cmds:
|
||||
- echo "{{.GREETING}}"
|
||||
silent: true
|
||||
|
||||
doc:
|
||||
desc: Update module document
|
||||
cmds:
|
||||
- v doc -o docs/ -f markdown .
|
||||
- mv docs/index.md docs/vdotenv.md
|
||||
|
||||
test:
|
||||
desc: Run test
|
||||
cmds:
|
||||
- v test vss_test.v
|
||||
- task: clean
|
||||
|
||||
vet:
|
||||
desc: Report suspicious code constructs
|
||||
cmds:
|
||||
- v vet *.v
|
||||
|
||||
format:
|
||||
desc: Format .v files
|
||||
cmds:
|
||||
- v fmt -w *.v
|
Loading…
Add table
Reference in a new issue