Skip to content

Commit

Permalink
Add ui-only task
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Jun 27, 2023
1 parent 246d5bf commit dcb3a19
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,22 @@ tasks:
- task: api-up
- docker compose up hasura -d --wait={{.WAIT}}

dev:
deps: [ ui, api ]
dev: # Currently broken (because the ui doesn't wait for the api), but probably no one uses it.
deps: [ api-dev, ui-only]
interactive: true

# ui
ui:
ui-dev: # The single command for ui development
aliases:
- "ui"
dir: ./frontend
deps: [ backend-up, ui-down ]
interactive: true
cmds:
- task: ui-only
ui-only:
dir: ./frontend
deps: [ backend-up, ui-down, ui-install ]
deps: [ ui-install ]
interactive: true
cmds:
- pnpm run dev
Expand All @@ -93,7 +102,9 @@ tasks:
cmds:
- docker compose stop ui
# api
api:
api-dev: # The single command for api development
aliases:
- "api"
dir: ./backend/LexBoxApi
deps: [ infra-up, api-stop ]
interactive: true
Expand Down

0 comments on commit dcb3a19

Please sign in to comment.