From ffd66d514af4bfd18577f3b89838da4fe362a572 Mon Sep 17 00:00:00 2001 From: Bob Date: Wed, 4 Aug 2021 08:20:59 -0400 Subject: [PATCH] add META-INF resource to windows compilation (to mirror linux compilation) (fixes #963) (#964) --- script/compile.bat | 1 + test/babashka/bb_edn_test.clj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/script/compile.bat b/script/compile.bat index 38b23670..5a2edc1a 100644 --- a/script/compile.bat +++ b/script/compile.bat @@ -31,6 +31,7 @@ call %GRAALVM_HOME%\bin\native-image.cmd ^ "-J-Dclojure.compiler.direct-linking=true" ^ "-H:IncludeResources=BABASHKA_VERSION" ^ "-H:IncludeResources=SCI_VERSION" ^ + "-H:IncludeResources=META-INF/babashka/.*" ^ "-H:ReflectionConfigurationFiles=reflection.json" ^ "--initialize-at-build-time" ^ "--initialize-at-run-time=org.postgresql.sspi.SSPIClient" ^ diff --git a/test/babashka/bb_edn_test.clj b/test/babashka/bb_edn_test.clj index 02d57af9..26b63846 100644 --- a/test/babashka/bb_edn_test.clj +++ b/test/babashka/bb_edn_test.clj @@ -34,7 +34,7 @@ (is (= "src" (bb "-cp" "src" "-e" "(babashka.classpath/get-classpath)")))))) -(deftest ^:skip-windows print-deps-test +(deftest print-deps-test (test-utils/with-config '{:deps {medley/medley {:mvn/version "1.3.0"}}} (testing "deps output" (let [edn (bb "print-deps")