-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yml
41 lines (33 loc) · 926 Bytes
/
Taskfile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
version: 3
tasks:
css:
cmds:
- |
pnpm exec tailwindcss \
-o src/zulip_write_only_proxy/frontend/static/main.css
sources:
- src/**/*.html
- ./tailwind.config.js
generates:
- src/zulip_write_only_proxy/frontend/static/main.css
css-watch: |
pnpm exec tailwindcss \
-o src/zulip_write_only_proxy/frontend/static/main.css \
--watch
htmx: |
cd ./src/zulip_write_only_proxy/frontend/static && \
wget -N https://unpkg.com/[email protected]/dist/htmx.js
poe-up: poe up
dev:
deps: [css-watch, htmx, poe-up]
docker: docker compose -p zwop-dev -f ./compose.yml up --build --watch
staging:
dotenv: ['.env']
cmds:
- docker build . --tag zwop:staging
- docker compose -p zwop-staging -f ./compose.staging.yml up -d
prod:
dotenv: ['.env']
cmds:
- docker compose -p zwop -f ./compose.prod.yml up -d