mirror of
https://github.com/tw93/Mole.git
synced 2026-02-12 10:33:30 +00:00
feat: Add VS Code launch/task configurations and refactor app icon and resource management.
This commit is contained in:
44
.vscode/launch.json
vendored
Normal file
44
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"type": "swift",
|
||||
"request": "launch",
|
||||
"name": "Debug Mole",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}/app",
|
||||
"target": "Mole",
|
||||
"configuration": "debug",
|
||||
"preLaunchTask": "swift: Build Debug Mole (app)"
|
||||
},
|
||||
{
|
||||
"type": "swift",
|
||||
"request": "launch",
|
||||
"name": "Release Mole",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}/app",
|
||||
"target": "Mole",
|
||||
"configuration": "release",
|
||||
"preLaunchTask": "swift: Build Release Mole (app)"
|
||||
},
|
||||
{
|
||||
"type": "swift",
|
||||
"request": "launch",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder:Mole}/app",
|
||||
"name": "Debug Mole (app)",
|
||||
"target": "Mole",
|
||||
"configuration": "debug",
|
||||
"preLaunchTask": "swift: Build Debug Mole (app)"
|
||||
},
|
||||
{
|
||||
"type": "swift",
|
||||
"request": "launch",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder:Mole}/app",
|
||||
"name": "Release Mole (app)",
|
||||
"target": "Mole",
|
||||
"configuration": "release",
|
||||
"preLaunchTask": "swift: Build Release Mole (app)"
|
||||
}
|
||||
]
|
||||
}
|
||||
38
.vscode/tasks.json
vendored
Normal file
38
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "swift: Build Debug Mole (app)",
|
||||
"type": "shell",
|
||||
"command": "swift",
|
||||
"args": ["build", "-c", "debug"],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/app"
|
||||
},
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "shared"
|
||||
},
|
||||
"problemMatcher": ["$swiftc"]
|
||||
},
|
||||
{
|
||||
"label": "swift: Build Release Mole (app)",
|
||||
"type": "shell",
|
||||
"command": "swift",
|
||||
"args": ["build", "-c", "release"],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/app"
|
||||
},
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "shared"
|
||||
},
|
||||
"problemMatcher": ["$swiftc"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user