Skip to content

Commit

Permalink
[hooks] Remove explicit adding of source dependency in `hook/link.dar…
Browse files Browse the repository at this point in the history
…t` scripts (#1632)
  • Loading branch information
mkustermann authored Oct 7, 2024
1 parent d8a84ea commit cbfe69e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ Received ${config.codeAssets.all.length} encodedAssets: ${config.codeAssets.all.
print('''
Keeping only ${output.codeAssets.all.map((e) => e.id)}.
''');
output.addDependency(config.packageRoot.resolve('hook/link.dart'));
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ import 'package:native_assets_cli/native_assets_cli.dart';
void main(List<String> arguments) async {
await link(arguments, (config, output) async {
output.addEncodedAssets(config.encodedAssets);
output.addDependency(config.packageRoot.resolve('hook/link.dart'));
});
}

0 comments on commit cbfe69e

Please sign in to comment.