-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathtaskfile.yaml
More file actions
17 lines (16 loc) · 879 Bytes
/
taskfile.yaml
File metadata and controls
17 lines (16 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
version: "3"
dotenv: [".env.local"]
tasks:
post_create:
desc: "Runs after this template is instantiated as a Sandbox or Bootstrap"
vars:
TOKEN_FILE: "app/src/main/java/io/livekit/android/example/voiceassistant/TokenExt.kt"
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 Android agent example project is ready to go!\n"
- echo -e "To give it a try, open the project in Android Studio and run the app."
- echo -e "\nFor more help view your project's README.md file or join our Slack community at https://livekit.io/join-slack."