From d5b8baf1b3d71608054111c91e51719ec3c302db Mon Sep 17 00:00:00 2001 From: Evan Wallace Date: Sat, 21 Sep 2024 17:40:51 -0400 Subject: [PATCH] wip --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 672053ca06..bced4b3a97 100644 --- a/Makefile +++ b/Makefile @@ -69,6 +69,7 @@ test-deno: esbuild platform-deno @echo '✅ deno tests passed' # I couldn't find a Deno API for telling when tests have failed, so I'm doing this here instead deno eval 'import { transform, stop } from "file://$(shell pwd)/deno/mod.js"; console.log((await transform("1+2")).code); stop()' | grep "1 + 2;" deno eval 'import { transform, stop } from "file://$(shell pwd)/deno/wasm.js"; console.log((await transform("1+2")).code); stop()' | grep "1 + 2;" + deno run -A './deno/mod.js' | grep "Usage:" # See: https://github.com/evanw/esbuild/pull/3917 test-deno-windows: esbuild platform-deno ESBUILD_BINARY_PATH=./esbuild.exe deno test --allow-run --allow-env --allow-net --allow-read --allow-write --no-check scripts/deno-tests.js