1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Build all of the samples with wasm (#2584)

This commit is contained in:
Kevin Moore
2025-02-12 20:31:51 -06:00
committed by GitHub
parent bfe14d0f81
commit 407f0a4d56

View File

@@ -3,7 +3,9 @@
// found in the LICENSE file
import 'dart:io';
import 'package:path/path.dart' as p;
import 'common.dart';
import 'fix_base_tags.dart';
@@ -53,7 +55,7 @@ void main() async {
// Build the sample and copy the files
await _run(directory, 'flutter', ['pub', 'get']);
await _run(directory, 'flutter', ['build', 'web']);
await _run(directory, 'flutter', ['build', 'web', '--wasm']);
await _run(directory, 'mv', [sourceBuildDir, targetDirectory]);
}