-
-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create DevTools extension for
package:provider
(#832)
- Loading branch information
1 parent
50e0158
commit a689f40
Showing
83 changed files
with
7,192 additions
and
63 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
// 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": [ | ||
{ | ||
"name": "provider", | ||
"request": "launch", | ||
"type": "dart" | ||
}, | ||
{ | ||
"name": "provider (profile mode)", | ||
"request": "launch", | ||
"type": "dart", | ||
"flutterMode": "profile" | ||
}, | ||
{ | ||
"name": "provider (release mode)", | ||
"request": "launch", | ||
"type": "dart", | ||
"flutterMode": "release" | ||
}, | ||
{ | ||
"name": "example", | ||
"cwd": "example", | ||
"request": "launch", | ||
"type": "dart" | ||
}, | ||
{ | ||
"name": "example (profile mode)", | ||
"cwd": "example", | ||
"request": "launch", | ||
"type": "dart", | ||
"flutterMode": "profile" | ||
}, | ||
{ | ||
"name": "example (release mode)", | ||
"cwd": "example", | ||
"request": "launch", | ||
"type": "dart", | ||
"flutterMode": "release" | ||
}, | ||
{ | ||
"name": "provider_devtools_extension", | ||
"cwd": "packages/provider_devtools_extension", | ||
"request": "launch", | ||
"type": "dart" | ||
}, | ||
{ | ||
"name": "provider_devtools_extension + simulated environment", | ||
"program": "packages/provider_devtools_extension/lib/main.dart", | ||
"request": "launch", | ||
"type": "dart", | ||
"args": [ | ||
"--dart-define=use_simulated_environment=true" | ||
], | ||
}, | ||
{ | ||
"name": "provider_devtools_extension (profile mode)", | ||
"cwd": "packages/provider_devtools_extension", | ||
"request": "launch", | ||
"type": "dart", | ||
"flutterMode": "profile" | ||
}, | ||
{ | ||
"name": "provider_devtools_extension (release mode)", | ||
"cwd": "packages/provider_devtools_extension", | ||
"request": "launch", | ||
"type": "dart", | ||
"flutterMode": "release" | ||
} | ||
] | ||
} |
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,15 @@ | ||
pushd packages/provider | ||
|
||
rm -rf extension/devtools/build | ||
mkdir extension/devtools/build | ||
|
||
popd | ||
|
||
pushd packages/provider_devtools_extension | ||
|
||
flutter pub get && | ||
dart run devtools_extensions build_and_copy \ | ||
--source=. \ | ||
--dest=../provider/extension/devtools | ||
|
||
popd |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
extension/devtools/build |
Oops, something went wrong.