forked from AmbientRun/Ambient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tasks.json
74 lines (74 loc) · 2.03 KB
/
tasks.json
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"command": "~/.cargo/bin/cargo",
"label": "Release elements (internal server)",
"options": {
"env": {
"RUST_LOG": "info,wgpu=warn,naga=warn,quinn=warn,sentry=debug,sentry-anyhow=debug,sentry-core=debug,fbxcel=error",
"NO_ELP_TIMEOUT": "true",
"AMBIENT_DISABLE_TIMEOUT": "true",
"RUST_BACKTRACE": "1"
},
"cwd": "${workspaceFolder}"
},
"args": [
"run",
"--release",
"--features=profile",
"--",
"--disable-auto-update",
"--projects-dir=workdir"
],
"group": {
"kind": "build"
}
},
{
"type": "cargo",
"command": "run",
"label": "third_person_camera",
"args": [
"--",
"run",
"./guest/rust/examples/basics/third_person_camera"
]
},
{
"type": "shell",
"command": "wasm-pack build web --dev",
"problemMatcher": [
"$rustc"
],
"group": "build",
"label": "build-web"
},
{
"type": "cargo",
"command": "clippy",
"problemMatcher": [
"$rustc"
],
"args": [
"--workspace"
],
"group": "build",
"label": "rust: cargo clippy"
},
{
"type": "npm",
"script": "start",
"path": "www",
"problemMatcher": [],
"label": "npm: start - www",
"detail": "webpack-dev-server",
"options": {
"env": {
"NODE_OPTIONS": "--openssl-legacy-provider"
}
},
}
]
}