-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathtaskfile.yaml
More file actions
20 lines (17 loc) · 913 Bytes
/
taskfile.yaml
File metadata and controls
20 lines (17 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
version: "3"
dotenv: [".env.local"]
tasks:
post_create:
desc: "Runs after this template is instantiated as a Sandbox or Bootstrap"
vars:
TOKEN_FILE: "hooks/useConnection.ts"
cmds:
- echo -e "Setting up sandbox..."
- platforms: [darwin]
cmd: sed -i "" "s/sandboxID = ''/sandboxID = '{{.LIVEKIT_SANDBOX_ID}}'/g" "{{.ROOT_DIR}}/{{.TOKEN_FILE}}"
- platforms: [linux, windows]
cmd: sed -i "s/sandboxID = ''/sandboxID = '{{.LIVEKIT_SANDBOX_ID}}'/g" "{{.ROOT_DIR}}/{{.TOKEN_FILE}}"
- echo -e "\nYour React-Native voice assistant is ready to go!\n"
- echo -e "Install the dependencies by running \"npm install\""
- echo -e "To give it a try, run \"npx expo run:android\" or \"npx expo run:ios\" to run the app.\n"
- echo -e "For more help view your project's README.md file or join our Discourse community at https://community.livekit.io."