From 8097131bb8b719fbbf240f2d5902d95643fe4966 Mon Sep 17 00:00:00 2001 From: Dominik Toton Date: Fri, 8 Nov 2024 13:22:50 +0100 Subject: [PATCH] fix: copy contents of pkg folder, not the folder itself --- earthly/flutter_rust_bridge/Earthfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earthly/flutter_rust_bridge/Earthfile b/earthly/flutter_rust_bridge/Earthfile index b385eed2..3a4f6992 100644 --- a/earthly/flutter_rust_bridge/Earthfile +++ b/earthly/flutter_rust_bridge/Earthfile @@ -33,6 +33,6 @@ CODE_GENERATOR_WEB: RUN flutter_rust_bridge_codegen generate --default-external-library-loader-web-prefix=/assets/packages/catalyst_key_derivation/assets/js/ RUN flutter_rust_bridge_codegen build-web - RUN mkdir -p assets/js && cp -rf ./web/pkg/ assets/js/ + RUN mkdir -p assets/js && cp -rf ./web/pkg/* assets/js/ # Don't want this gitignore file. RUN rm -rf ./assets/js/.gitignore