-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTaskfile.yml
More file actions
34 lines (32 loc) · 791 Bytes
/
Taskfile.yml
File metadata and controls
34 lines (32 loc) · 791 Bytes
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
version: "3"
dotenv: [".env"]
silent: true
tasks:
# Run the main (dashboard) app in DEV mode
dashboard:
cmds:
- cd apps/dashboard && bun run dev
# Run the server app in DEV mode
server:
cmds:
- cd apps/server && bun run start:dev
# Run smart contract tests
test:
cmds:
- cd apps/smart-contract && anchor test
# Run server e2e tests
test-server:
cmds:
- cd apps/server && bun run test:e2e
# Deploy the server app in PROD mode with Mau
deploy-server:
cmds:
- cd apps/server && mau deploy
# Deploy the contract program to the blockchain
deploy-contract:
cmds:
- cd apps/smart-contract && anchor deploy
# Build the contract program
build-contract:
cmds:
- cd apps/smart-contract && anchor build