Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dwds/debug_extension/tool/build_extension.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ echo "Building DDC-compiled extension to dev_build/web directory."
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
dart run build_runner build web --delete-conflicting-outputs --output dev_build
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
"Updating the manifest.json file in dev_build/web directory."
echo "Updating the manifest.json file in dev_build/web directory."
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
dart tool/update_dev_manifest.dart
16 changes: 6 additions & 10 deletions dwds/test/fixtures/context.dart
Original file line number Diff line number Diff line change
Expand Up @@ -435,16 +435,12 @@ class TestContext {
throw StateError(
'Expected to be in /dwds directory, instead path was $currentDir.');
}
try {
Directory.current = '$currentDir/debug_extension';
final process = await Process.run(
'tool/build_extension.sh',
['prod'],
);
print(process.stdout);
} finally {
Directory.current = currentDir;
}
final process = await Process.run(
'tool/build_extension.sh',
['prod'],
workingDirectory: '$currentDir/debug_extension',
);
print(process.stdout);
}

Future<ChromeTab> _fetchDartDebugExtensionTab(
Expand Down