refactor: upgrade to latest shorebird engine (#49)
This commit is contained in:
@@ -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) {
|
||||
|
||||
+1
-1
@@ -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,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
|
||||
|
||||
Reference in New Issue
Block a user