Skip to content

Commit

Permalink
ci: update copy Earthfile script
Browse files Browse the repository at this point in the history
  • Loading branch information
apskhem committed Dec 13, 2023
1 parent e1d2392 commit ba5e604
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hermes/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ VERSION 0.7
fork-wasi-component-adapter:
LOCALLY

RUN rm -rf crates/wasi-component-adapter/ || true && \
RUN if [ -e crates/wasi-component-adapter/Earthfile ]; then mv crates/wasi-component-adapter/Earthfile crates/Earthfile-tmp; fi && \
rm -rf crates/wasi-component-adapter/ || true && \
git clone --depth 1 https://github.com/bytecodealliance/wasmtime.git && \
mv wasmtime/crates/wasi-preview1-component-adapter crates/wasi-component-adapter && \
rm -rf wasmtime/
rm -rf wasmtime/ && \
if [ -e crates/Earthfile-tmp ]; then mv crates/Earthfile-tmp crates/wasi-component-adapter/Earthfile; fi

# Set up our target toolchains, and copy our files.
builder:
Expand Down

0 comments on commit ba5e604

Please sign in to comment.