Skip to content

Commit a437b6d

Browse files
committed
conf: Add launch configuration files for IntelliJ and VSCode.
1 parent 644f454 commit a437b6d

4 files changed

Lines changed: 52 additions & 7 deletions

File tree

.gitignore

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,14 @@
99
.history
1010
.svn/
1111

12-
# IntelliJ related
12+
# IDE related
1313
*.iml
1414
*.ipr
1515
*.iws
16-
.idea/
17-
18-
# The .vscode folder contains launch configuration and tasks you configure in
19-
# VS Code which you may wish to be included in version control, so this line
20-
# is commented out by default.
21-
#.vscode/
16+
.idea/*
17+
!.idea/runConfigurations/
18+
.vscode/*
19+
!.vscode/launch.json
2220

2321
# Flutter/Dart/Pub related
2422
**/doc/api/

.idea/runConfigurations/development.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/production.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.vscode/launch.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Launch development",
6+
"request": "launch",
7+
"type": "dart",
8+
"program": "lib/main_development.dart",
9+
"args": [
10+
"--verbose",
11+
"--flavor",
12+
"development",
13+
"--target",
14+
"lib/main_development.dart"
15+
]
16+
},
17+
{
18+
"name": "Launch production",
19+
"request": "launch",
20+
"type": "dart",
21+
"program": "lib/main_production.dart",
22+
"args": [
23+
"--verbose",
24+
"--flavor",
25+
"production",
26+
"--target",
27+
"lib/main_production.dart"
28+
]
29+
}
30+
]
31+
}

0 commit comments

Comments
 (0)