Skip to content

Commit

Permalink
Expand taskfile with uv setup cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenwindflower committed Mar 16, 2024
1 parent 285566c commit f0471d5
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,25 @@ version: "3"

tasks:
setup:
alias: s
aliases: [s]
cmds:
- python3 -m venv .venv
- python3 -m pip install --upgrade pip
- source .venv/bin/activate && python3 -m pip install -r requirements.txt
- npm --prefix ./reports install
setup-uv:
# Requires uv https://astral.sh/uv
aliases: [suv]
cmds:
- uv venv
- source .venv/bin/activate && uv pip install -r requirements.txt
- npm --prefix ./reports install
build:
alias: b
aliases: [b]
cmds:
- source .venv/bin/activate && dbt build
test:
alias: t
aliases: [t]
cmds:
- source .venv/bin/activate && dbt test
bi:
Expand Down

0 comments on commit f0471d5

Please sign in to comment.