From 94818b992a2575be5d4653ca177bcf4c31d3cabd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Sat, 30 Mar 2024 16:36:13 +0100 Subject: [PATCH] dev: add +dev-update-sdk target (why doesn't dev-local update as expected?) --- Earthfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Earthfile b/Earthfile index cee5559..2fe4a46 100644 --- a/Earthfile +++ b/Earthfile @@ -278,4 +278,11 @@ dev-local: COPY +wasmlib/pkg-node /wasm-node SAVE ARTIFACT /js-dist AS LOCAL sdks/js/dist SAVE ARTIFACT /wasm-web AS LOCAL wasm/pkg-web - SAVE ARTIFACT /wasm-node AS LOCAL wasm/pkg-node \ No newline at end of file + SAVE ARTIFACT /wasm-node AS LOCAL wasm/pkg-node + +dev-update-sdk: + LOCALLY + WORKDIR sdks/js + RUN pnpm build + WORKDIR webui + RUN pnpm install \ No newline at end of file