add a Taskfile
This commit is contained in:
parent
f44de3ab6b
commit
d4743390c7
1
.gitignore
vendored
1
.gitignore
vendored
@ -13,3 +13,4 @@ package-lock.json
|
|||||||
.temp
|
.temp
|
||||||
node_modules/
|
node_modules/
|
||||||
dist/yarn-error.log
|
dist/yarn-error.log
|
||||||
|
.task/
|
||||||
|
22
Taskfile.yml
Normal file
22
Taskfile.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user