Skip to content

Commit

Permalink
update earthfile
Browse files Browse the repository at this point in the history
  • Loading branch information
greaka committed Jan 1, 2025
1 parent b666e93 commit 705d174
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Earthfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
VERSION 0.8
IMPORT github.com/Jake-Shadle/xwin:0871d7dbbbf36839f3cba53de8879851670a6246 AS xwin
# IMPORT github.com/Jake-Shadle/xwin:0871d7dbbbf36839f3cba53de8879851670a6246 AS xwin
IMPORT github.com/greaka/xwin AS xwin

builder:
FROM xwin+xwin
Expand Down Expand Up @@ -50,8 +51,8 @@ addon:
RUN --mount=type=cache,mode=0777,id=$cargo_home_cache_id,sharing=shared,target=$CARGO_HOME \
--mount=type=cache,mode=0777,id=$target_cache_id,sharing=locked,target=target \
cargo build --release --color=always --target x86_64-pc-windows-msvc ${CARGO_EXTRA_ARGS} && \
(rm ${CARGO_TARGET_NAME}.dll || true) && \
(rm ${CARGO_TARGET_NAME}.pdb || true) && \
(rm -f ${CARGO_TARGET_NAME}.dll || true) && \
(rm -f ${CARGO_TARGET_NAME}.pdb || true) && \
cp ${target_folder}/${CARGO_TARGET_NAME}.dll ./ && \
(cp ${target_folder}/${CARGO_TARGET_NAME}.pdb ./ || true)

Expand Down

0 comments on commit 705d174

Please sign in to comment.