From ea6c434be248d0afc94bc08c1dbcdf27effae0f6 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Wed, 6 Nov 2024 20:11:57 +0700 Subject: [PATCH] fix: rm file command Signed-off-by: bkioshn --- earthly/flutter_rust_bridge/Earthfile | 3 ++- examples/flutter/example/Earthfile | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/earthly/flutter_rust_bridge/Earthfile b/earthly/flutter_rust_bridge/Earthfile index 80311f27..b385eed2 100644 --- a/earthly/flutter_rust_bridge/Earthfile +++ b/earthly/flutter_rust_bridge/Earthfile @@ -34,4 +34,5 @@ CODE_GENERATOR_WEB: RUN flutter_rust_bridge_codegen build-web RUN mkdir -p assets/js && cp -rf ./web/pkg/ assets/js/ - + # Don't want this gitignore file. + RUN rm -rf ./assets/js/.gitignore diff --git a/examples/flutter/example/Earthfile b/examples/flutter/example/Earthfile index c1817fb2..9f87dde0 100644 --- a/examples/flutter/example/Earthfile +++ b/examples/flutter/example/Earthfile @@ -51,8 +51,7 @@ builder-frb: code-generator-web: FROM +builder-frb DO flutter_rust_bridge+CODE_GENERATOR_WEB - # Don't want this gitignore file in the artifact. - RUN rm -rf ./assets/js/.gitignore + SAVE ARTIFACT ./assets/js AS LOCAL ./assets/js SAVE ARTIFACT ./rust/src/frb_generated.rs AS LOCAL ./rust/src/frb_generated.rs SAVE ARTIFACT ./lib/src AS LOCAL ./lib/src \ No newline at end of file