Skip to content

Commit

Permalink
run either desktop of web and add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kimonp committed Jan 7, 2024
1 parent 1bf7794 commit 0cd6798
Show file tree
Hide file tree
Showing 10 changed files with 2,972 additions and 258 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ target/
# Dioxus ignores
/target
/dist
index.html
index.html

# Ignore debugging
/firedbg
48 changes: 48 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
// 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 'game-of-life'",
"cargo": {
"args": [
"build",
"--bin=game-of-life",
"--package=game-of-life",
"--features=desktop"
],
"filter": {
"name": "game-of-life",
"kind": "bin"
},
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'game-of-life'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=game-of-life",
"--package=game-of-life"
],
"filter": {
"name": "game-of-life",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rust-analyzer.cargo.features": [
"desktop"
]
}
Loading

0 comments on commit 0cd6798

Please sign in to comment.