bgg-ottawa-sell-club/Taskfile.yaml

32 lines
674 B
YAML
Raw Permalink Normal View History

2024-02-04 17:40:51 +00:00
# https://taskfile.dev
version: '3'
vars:
GREETING: Hello, World!
tasks:
2024-02-04 19:21:39 +00:00
export-db:
cmds:
- sqlite3 /home/bggsell/games.db '.mode json' '.once /home/bggsell/db/games.json' 'select * from game'
2024-02-04 19:08:53 +00:00
export-db:dev:
cmds:
- sqlite3 games.db '.mode json' '.once static/dev/games.json' 'select * from game'
2024-02-04 18:02:59 +00:00
deploy:
deps: [build]
cmds:
- rsync -av build/ bggsell@gilgamesh:public_html
2024-02-04 17:54:23 +00:00
build:
cmds:
- vite build
2024-02-04 17:40:51 +00:00
update-game:
cmds:
- node src/scripts/updateUsers.js
default:
cmds:
- echo "{{.GREETING}}"
silent: true