Skip to content

Commit 892ea15

Browse files
sigurdmCommit Queue
authored andcommitted
Add missing sample pubspec to workspace
Follow up to https://dart-review.googlesource.com/c/sdk/+/397164 Change-Id: I6c9197bce858cbb7c5af50cf532b0ff1ae7d6311 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/415580 Reviewed-by: Alexander Thomas <[email protected]> Commit-Queue: Sigurd Meldgaard <[email protected]>
1 parent fcf79e0 commit 892ea15

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ workspace:
7676
- pkg/vm_service_protos
7777
- pkg/vm_snapshot_analysis
7878
- pkg/wasm_builder
79+
- samples/ffi/http
7980
# dap and language_server_protocol are checked in to and
8081
# developed in the sdk repo, though they are located in `third_party/`.
8182
- third_party/pkg/dap

samples/ffi/http/pubspec.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ name: http_sample
22
version: 0.0.1
33
publish_to: none
44

5+
resolution: workspace
6+
57
environment:
6-
sdk: '>=3.1.0 <4.0.0'
8+
sdk: ^3.5.0
79

810
dependencies:
911
ffi: ^2.1.0

tools/generate_package_config.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ $overrides
7878
final rootUri = package['rootUri'];
7979
if (!(rootUri.startsWith('../third_party/') || // Third-party package
8080
rootUri.startsWith('../pkg/') || // SDK package
81+
rootUri.startsWith('../samples/') || // sample package
8182
rootUri.startsWith('../runtime/') || // VM package
8283
rootUri.startsWith(
8384
'../tools',

0 commit comments

Comments
 (0)