Browse Source

add a Taskfile

main^2
Yanick Champoux 10 months ago
parent
commit
d4743390c7
  1. 1
      .gitignore
  2. 22
      Taskfile.yml

1
.gitignore vendored

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

22
Taskfile.yml

@ -0,0 +1,22 @@ @@ -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…
Cancel
Save