-
Notifications
You must be signed in to change notification settings - Fork 3
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
1 parent
d631ed1
commit fbc8fb1
Showing
4 changed files
with
107 additions
and
23 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 |
---|---|---|
|
@@ -7,8 +7,14 @@ | |
"label": "import", | ||
"type": "shell", | ||
"command": "${workspaceFolder}/backend/gradlew", | ||
"options": { "cwd": "${workspaceFolder}/backend" }, | ||
"args": ["run", "--args", "import"], | ||
"options": { | ||
"cwd": "${workspaceFolder}/backend" | ||
}, | ||
"args": [ | ||
"run", | ||
"--args", | ||
"import" | ||
], | ||
"problemMatcher": [ | ||
"$gradle" | ||
] | ||
|
@@ -17,8 +23,17 @@ | |
"label": "Run Backend", | ||
"type": "shell", | ||
"command": "${workspaceFolder}/backend/gradlew", | ||
"options": { "cwd": "${workspaceFolder}/backend", "env": { "JWT_SECRET": "Hello World!"} }, | ||
"args": ["run", "--args", "execute"], | ||
"options": { | ||
"cwd": "${workspaceFolder}/backend", | ||
"env": { | ||
"JWT_SECRET": "Hello World!" | ||
} | ||
}, | ||
"args": [ | ||
"run", | ||
"--args", | ||
"execute" | ||
], | ||
"problemMatcher": [ | ||
"$gradle" | ||
] | ||
|
@@ -27,8 +42,14 @@ | |
"label": "Run Frontend", | ||
"type": "shell", | ||
"command": "fvm", | ||
"options": { "cwd": "${workspaceFolder}/frontend" }, | ||
"args": ["flutter", "run", "--dart-define=environment=local"], | ||
"options": { | ||
"cwd": "${workspaceFolder}/frontend" | ||
}, | ||
"args": [ | ||
"flutter", | ||
"run", | ||
"--dart-define=environment=local" | ||
], | ||
"problemMatcher": [ | ||
"$gradle" | ||
] | ||
|
@@ -37,8 +58,13 @@ | |
"label": "Create Admin Account", | ||
"type": "shell", | ||
"command": "${workspaceFolder}/backend/gradlew", | ||
"options": { "cwd": "${workspaceFolder}/backend" }, | ||
"args": ["run", "--args=\"create-admin nuernberg.sozialpass.app REGION_MANAGER [email protected] Administrator! 9\""], | ||
"options": { | ||
"cwd": "${workspaceFolder}/backend" | ||
}, | ||
"args": [ | ||
"run", | ||
"--args=\"create-admin nuernberg.sozialpass.app REGION_MANAGER [email protected] Administrator! 9\"" | ||
], | ||
"problemMatcher": [ | ||
"$gradle" | ||
] | ||
|
@@ -47,8 +73,13 @@ | |
"label": "Generate React GraphQL Client", | ||
"type": "shell", | ||
"command": "npm", | ||
"options": { "cwd": "${workspaceFolder}/administration" }, | ||
"args": ["run", "generate-graphql"], | ||
"options": { | ||
"cwd": "${workspaceFolder}/administration" | ||
}, | ||
"args": [ | ||
"run", | ||
"generate-graphql" | ||
], | ||
"problemMatcher": [ | ||
"$gradle" | ||
] | ||
|
@@ -57,8 +88,13 @@ | |
"label": "GraphQL Schema Export", | ||
"type": "shell", | ||
"command": "${workspaceFolder}/backend/gradlew", | ||
"options": { "cwd": "${workspaceFolder}/backend" }, | ||
"args": ["run", "--args=\"graphql-export ../specs/backend-api.graphql\""], | ||
"options": { | ||
"cwd": "${workspaceFolder}/backend" | ||
}, | ||
"args": [ | ||
"run", | ||
"--args=\"graphql-export ../specs/backend-api.graphql\"" | ||
], | ||
"problemMatcher": [ | ||
"$gradle" | ||
] | ||
|
@@ -67,22 +103,48 @@ | |
"label": "Format", | ||
"type": "shell", | ||
"command": "fvm", | ||
"options": { "cwd": "${workspaceFolder}/frontend" }, | ||
"args": ["flutter", "format", "-l", "120", "."], | ||
"options": { | ||
"cwd": "${workspaceFolder}/frontend" | ||
}, | ||
"args": [ | ||
"flutter", | ||
"format", | ||
"-l", | ||
"120", | ||
"." | ||
] | ||
}, | ||
{ | ||
"label": "Select bayern", | ||
"type": "shell", | ||
"command": "fvm", | ||
"options": { "cwd": "${workspaceFolder}/frontend" }, | ||
"args": ["flutter", "pub", "run", "build_runner", "build", "--delete-conflicting-outputs", "--define", "\"df_build_config=name=bayern\""], | ||
"options": { | ||
"cwd": "${workspaceFolder}/frontend" | ||
}, | ||
"args": [ | ||
"flutter", | ||
"pub", | ||
"run", | ||
"build_runner", | ||
"build", | ||
"--delete-conflicting-outputs", | ||
"--define", | ||
"\"df_build_config=name=bayern\"" | ||
] | ||
}, | ||
{ | ||
"label": "Format backend", | ||
"type": "shell", | ||
"command": "${workspaceFolder}/backend/gradlew", | ||
"options": { "cwd": "${workspaceFolder}/backend" }, | ||
"args": ["ktlintformat"] | ||
"options": { | ||
"cwd": "${workspaceFolder}/backend" | ||
}, | ||
"args": [ | ||
"ktlintformat" | ||
], | ||
"problemMatcher": [ | ||
"$gradle" | ||
] | ||
} | ||
] | ||
} |
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
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
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