remove zippy data from tarballs (#24551)

fixes https://github.com/nim-lang/nightlies/issues/95

(cherry picked from commit 63c884038d)
This commit is contained in:
ringabout
2024-12-21 05:09:29 +08:00
committed by narimiran
parent 6deb3a90ae
commit 0c14372a8c

View File

@@ -162,6 +162,9 @@ proc bundleNimbleExe(latest: bool, args: string) =
updateSubmodules(distDir / "nimble", allowBundled = true)
nimCompile("dist/nimble/src/nimble.nim",
options = "-d:release --noNimblePath " & args)
const zippyTests = "dist/nimble/vendor/zippy/tests"
if dirExists(zippyTests):
removeDir(zippyTests)
proc bundleAtlasExe(latest: bool, args: string) =
let commit = if latest: "HEAD" else: AtlasStableCommit