blob: 10cb7ae249ef4889d9037c43413e52044fadc296 [file] [log] [blame] [edit]
// 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