File tree Expand file tree Collapse file tree 8 files changed +47
-1
lines changed
native_assets_builder/test/data
native_assets_cli/example/native_add_app Expand file tree Collapse file tree 8 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 63
63
ndk-version : r26b
64
64
if : ${{ matrix.sdk == 'stable' }}
65
65
66
+ - run : dart run ../../tools/check_pubspec_overrides.dart
67
+
66
68
- run : dart run ../../tools/delete_pubspec_overrides.dart
67
69
if : ${{ matrix.dependencies == 'published' }}
68
70
Original file line number Diff line number Diff line change
1
+ dependency_overrides :
2
+ native_assets_cli :
3
+ path : ../../../../native_assets_cli/
4
+ native_toolchain_c :
5
+ path : ../../../../native_toolchain_c/
Original file line number Diff line number Diff line change 8
8
- cyclic_package_2/pubspec_overrides.yaml
9
9
- dart_app/bin/dart_app.dart
10
10
- dart_app/pubspec.yaml
11
+ - dart_app/pubspec_overrides.yaml
11
12
- native_add/build.dart
12
13
- native_add/ffigen.yaml
13
14
- native_add/lib/native_add.dart
Original file line number Diff line number Diff line change
1
+ dependency_overrides :
2
+ native_assets_cli :
3
+ path : ../../../../native_assets_cli/
Original file line number Diff line number Diff line change
1
+ dependency_overrides :
2
+ native_assets_cli :
3
+ path : ../../../native_assets_cli/
4
+ native_toolchain_c :
5
+ path : ../../../native_toolchain_c/
Original file line number Diff line number Diff line change
1
+ ## 0.3.4+1
2
+
3
+ - Stop depending on private ` package:native_assets_cli ` ` CCompilerConfig ` fields.
4
+
1
5
## 0.3.4
2
6
3
7
- Bump ` package:native_assets_cli ` to 0.4.0.
Original file line number Diff line number Diff line change 1
1
name : native_toolchain_c
2
2
description : >-
3
3
A library to invoke the native C compiler installed on the host machine.
4
- version : 0.3.4
4
+ version : 0.3.4+1
5
5
repository : https://github.com/dart-lang/native/tree/main/pkgs/native_toolchain_c
6
6
7
7
topics :
Original file line number Diff line number Diff line change
1
+ import 'dart:io' ;
2
+
3
+ void main (List <String > arguments) async {
4
+ final allPubspecs = await Directory .current
5
+ .list (recursive: true )
6
+ .where ((f) => f.path.endsWith ('pubspec.yaml' ))
7
+ .map ((f) => f as File )
8
+ .toList ();
9
+ final nativePubspecs =
10
+ allPubspecs.where ((f) => f.path.contains ('pkgs/native_' )).toList ();
11
+ final missingOverrides = nativePubspecs
12
+ .map ((element) =>
13
+ File .fromUri (element.uri.resolve ('pubspec_overrides.yaml' )))
14
+ .where ((f) => ! f.existsSync ())
15
+ .where ((f) =>
16
+ ! f.path.endsWith ('pkgs/native_assets_cli/pubspec_overrides.yaml' ))
17
+ .toList ()
18
+ .join ('\n ' );
19
+ if (missingOverrides.isEmpty) {
20
+ print ('No missing overrides.' );
21
+ } else {
22
+ print ('Missing overrides:' );
23
+ print (missingOverrides);
24
+ exit (1 );
25
+ }
26
+ }
You can’t perform that action at this time.
0 commit comments