blob: dc93c60c71aa36b7383901a2375d147d767daeba [file]
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// ignore_for_file: unused_local_variable
// snippet-start
import 'package:code_assets/code_assets.dart';
import 'package:hooks/hooks.dart';
void main(List<String> args) async {
await build(args, (input, output) async {
if (input.config.buildCodeAssets) {
final codeConfig = input.config.code;
final targetOS = codeConfig.targetOS;
final targetArchitecture = codeConfig.targetArchitecture;
// Add some code assets.
}
});
}
// snippet-end