add a Taskfile

main^2
Yanick Champoux 2022-04-17 17:51:19 -04:00
parent f44de3ab6b
commit d4743390c7
2 changed files with 23 additions and 0 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@ package-lock.json
.temp
node_modules/
dist/yarn-error.log
.task/

22
Taskfile.yml Normal file
View File

@ -0,0 +1,22 @@
# https://taskfile.dev
version: "3"
vars:
GREETING: Hello, World!
tasks:
release:
cmds:
- standard-version -a
changelog:
sources: [CHANGELOG.md]
generates: [src/lib/components/Changelog.svelte]
cmds:
- pnpx showdown makehtml -i CHANGELOG.md -o src/lib/components/Changelog.svelte
- git add src/lib/components/Changelog.svelte
default:
cmds:
- echo "{{.GREETING}}"
silent: true