From 203c4e99cc1f3cebc3f0ba82840690367a1ea97a Mon Sep 17 00:00:00 2001 From: Nimaoth Date: Sun, 21 Jul 2024 21:47:53 +0200 Subject: [PATCH] fixed CI nimble cache check --- config.nims | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.nims b/config.nims index b5cfedf3..72849ead 100644 --- a/config.nims +++ b/config.nims @@ -51,8 +51,8 @@ switch("d", "treesitterBuiltins=cpp,c,nim,csharp,rust,python,javascript,json") # Automatically build wasmtime when compiling the editor const absytreeBuildWasmtime {.booldefine.} = false const absytreeCI {.booldefine.} = false -const absytreeCINimbleCached {.booldefine.} = false -when absytreeCI and not absytreeCINimbleCached: +const absytreeCINimbleCached {.strdefine.} = "" +when absytreeCI and absytreeCINimbleCached != "true": echo "Will build wasmtime" switch("d", "nimWasmtimeBuild")