-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 88bfbdb
Showing
16 changed files
with
5,325 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[target.wasm32-unknown-unknown] | ||
runner = "wasm-server-runner" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# will have compiled files and executables | ||
/debug/ | ||
/target/ | ||
|
||
# These are backup files generated by rustfmt | ||
**/*.rs.bk | ||
|
||
# MSVC Windows builds of rustc generate these, which store debugging information | ||
*.pdb | ||
|
||
# Visual Studio Code settings file | ||
.vscode/settings.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Debug executable 'point-cloud-bevy'", | ||
"cargo": { | ||
"args": ["build", "--bin=point-cloud-bevy"] | ||
}, | ||
"args": [], | ||
"env": { | ||
"CARGO_MANIFEST_DIR": "${workspaceFolder}" | ||
}, | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Debug unit tests in executable 'point-cloud-bevy'", | ||
"cargo": { | ||
"args": ["test", "--no-run", "--bin=point-cloud-bevy"] | ||
}, | ||
"args": [], | ||
"env": { | ||
"CARGO_MANIFEST_DIR": "${workspaceFolder}" | ||
}, | ||
"cwd": "${workspaceFolder}" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,204 @@ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Test (fast compile)", | ||
"detail": "Runs all tests", | ||
"type": "shell", | ||
"group": "test", | ||
"command": "cargo t --workspace --features bevy/dynamic", | ||
"options": { | ||
"env": { | ||
"RUST_LOG": "warn,point_cloud_bevy=trace" | ||
} | ||
}, | ||
"problemMatcher": ["$rustc"], | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"panel": "shared", | ||
"showReuseMessage": true, | ||
"clear": true, | ||
"focus": true | ||
} | ||
}, | ||
{ | ||
"label": "Run release (fast compile)", | ||
"detail": "Runs binary in release mode", | ||
"type": "shell", | ||
"group": "build", | ||
"command": "cargo run --features bevy/dynamic --release", | ||
"problemMatcher": ["$rustc"], | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"panel": "shared", | ||
"showReuseMessage": true, | ||
"clear": true, | ||
"focus": true | ||
} | ||
}, | ||
{ | ||
"label": "Run debug (fast compile)", | ||
"detail": "Runs binary in debug mode", | ||
"type": "shell", | ||
"group": "build", | ||
"command": "cargo run --features bevy/dynamic", | ||
"problemMatcher": ["$rustc"], | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"panel": "shared", | ||
"showReuseMessage": true, | ||
"clear": true, | ||
"focus": true | ||
} | ||
}, | ||
{ | ||
"label": "Run w. editor-pls", | ||
"detail": "Runs binary with editor-pls enabled", | ||
"type": "shell", | ||
"command": "cargo run --features editor", | ||
"problemMatcher": ["$rustc"], | ||
"group": "build", | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"panel": "shared", | ||
"showReuseMessage": true, | ||
"clear": true, | ||
"focus": true | ||
} | ||
}, | ||
{ | ||
"label": "Run w. inspector-egui", | ||
"detail": "Runs binary with inspector-egui enabled", | ||
"type": "shell", | ||
"command": "cargo run --features inspector", | ||
"problemMatcher": ["$rustc"], | ||
"group": "build", | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"panel": "shared", | ||
"showReuseMessage": true, | ||
"clear": true, | ||
"focus": true | ||
} | ||
}, | ||
{ | ||
"label": "WASM development", | ||
"detail": "Use cargo watch to run wasm-server-runner", | ||
"type": "shell", | ||
"group": "build", | ||
"command": "cargo watch -- cargo run --target wasm32-unknown-unknown", | ||
"problemMatcher": ["$rustc"], | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"panel": "shared", | ||
"showReuseMessage": true, | ||
"clear": true, | ||
"focus": true | ||
} | ||
}, | ||
{ | ||
"label": "WASM development w. inspector-egui", | ||
"detail": "Use cargo watch to run wasm-server-runner, inspector-egui enabled", | ||
"type": "shell", | ||
"group": "build", | ||
"command": "cargo watch -- cargo run --target wasm32-unknown-unknown --features inspector", | ||
"problemMatcher": ["$rustc"], | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"panel": "shared", | ||
"showReuseMessage": true, | ||
"clear": true, | ||
"focus": true | ||
} | ||
}, | ||
{ | ||
"label": "Build point_cloud_bevy lib doc", | ||
"detail": "Builds the documentation", | ||
"type": "shell", | ||
"command": "cargo doc --lib --all-features --no-deps", | ||
"problemMatcher": ["$rustc"], | ||
"group": "build", | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"panel": "shared", | ||
"showReuseMessage": true, | ||
"focus": true, | ||
"clear": true | ||
} | ||
}, | ||
{ | ||
"label": "Open point_cloud_bevy lib doc", | ||
"detail": "Open the documentation", | ||
"type": "shell", | ||
"command": "cargo doc --lib --all-features --no-deps --open", | ||
"problemMatcher": ["$rustc"], | ||
"dependsOn": "Build doc" | ||
}, | ||
{ | ||
"label": "Update", | ||
"detail": "Update dependencies (Cargo.lock)", | ||
"type": "shell", | ||
"command": "cargo update", | ||
"problemMatcher": [], | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"panel": "shared", | ||
"showReuseMessage": true, | ||
"clear": true, | ||
"focus": true | ||
} | ||
}, | ||
{ | ||
"label": "Clippy", | ||
"detail": "Look for Clippy errors", | ||
"type": "shell", | ||
"command": "cargo clippy --all-features --all-targets -- -D warnings", | ||
"problemMatcher": [], | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"panel": "shared", | ||
"showReuseMessage": true, | ||
"clear": true, | ||
"focus": true | ||
} | ||
}, | ||
{ | ||
"label": "Format", | ||
"detail": "Format all source", | ||
"type": "shell", | ||
"command": "cargo fmt --all --quiet", | ||
"problemMatcher": [], | ||
"presentation": { | ||
"echo": false, | ||
"reveal": "never", | ||
"panel": "shared", | ||
"showReuseMessage": false | ||
} | ||
}, | ||
{ | ||
"label": "Clean", | ||
"detail": "Clean build artifacts", | ||
"type": "shell", | ||
"command": "cargo clean", | ||
"problemMatcher": [], | ||
"presentation": { | ||
"echo": false, | ||
"reveal": "never", | ||
"panel": "shared", | ||
"showReuseMessage": false | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.