refactor: upgrade to latest shorebird engine (#49)

This commit is contained in:
Felix Angelov
2023-03-08 14:03:30 -06:00
committed by GitHub
parent 92e471cf4a
commit d90315edd7
4 changed files with 5 additions and 5 deletions
@@ -66,9 +66,6 @@ class BuildCommand extends ShorebirdCommand with ShorebirdEngineMixin {
// only supports Android.
'apk',
'--release',
// This is temporary because the Shorebird engine currently
// does not support tree-shaking icons.
'--no-tree-shake-icons',
'--local-engine-src-path',
shorebirdEnginePath,
'--local-engine',
@@ -101,6 +101,9 @@ mixin ShorebirdEngineMixin on ShorebirdCommand {
'out/android_release_arm64/clang_x64/gen_snapshot',
'out/android_release_arm64/clang_x64/gen_snapshot_arm64',
'out/android_release_arm64/clang_x64/impellerc',
'out/android_release_arm64/clang_x64/impellerc',
'out/host_release/gen/const_finder.dart.snapshot',
'out/host_release/font-subset',
];
for (final executable in executables) {
@@ -5,7 +5,7 @@ import 'package:shelf/shelf.dart';
import 'package:shorebird_code_push_api/src/provider.dart';
final _engineUrl = Uri.parse(
'https://storage.googleapis.com/download/storage/v1/b/shorebird-code-push-api.appspot.com/o/${Uri.encodeComponent('engines/engine.zip')}?alt=media',
'https://storage.googleapis.com/download/storage/v1/b/shorebird-code-push-api.appspot.com/o/${Uri.encodeComponent('engines/dev/engine.zip')}?alt=media',
);
Future<Response> downloadEngineHandler(Request request, String revision) async {
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/sh -x
#!/bin/sh
# Given a path to a Flutter engine, generate a shorebird version of it.
# This is done by removing all the files that are not needed for the