Skip to content

Commit

Permalink
Build all of the samples with wasm (#2584)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Feb 13, 2025
1 parent bfe14d0 commit 407f0a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/_tool/build_ci.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -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]);
}

Expand Down

0 comments on commit 407f0a4

Please sign in to comment.