NickelEval.jl

Julia FFI bindings for Nickel configuration language
Log | Files | Refs | README | LICENSE

commit 56fe00000aa8be0aa6f7d32f826025a2b66e9e2e
parent 0183ee708a9a167d08a7b4585e16857cc8604347
Author: Erik Loualiche <eloualiche@users.noreply.github.com>
Date:   Wed, 18 Mar 2026 11:48:38 -0400

Merge pull request #4 from LouLouLibs/fix/build-script

Fix build.jl shallow clone fetch error
Diffstat:
Mdeps/build.jl | 13++++---------
1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/deps/build.jl b/deps/build.jl @@ -23,17 +23,12 @@ function build_nickel_capi() src_dir = joinpath(@__DIR__, "_nickel_src") - # Clone or update + # Clone or update — remove stale shallow clones to avoid fetch issues if isdir(src_dir) - @info "Updating Nickel source..." - cd(src_dir) do - run(`git fetch --depth 1 origin tag $(NICKEL_VERSION)`) - run(`git checkout $(NICKEL_VERSION)`) - end - else - @info "Cloning Nickel $(NICKEL_VERSION)..." - run(`git clone --depth 1 --branch $(NICKEL_VERSION) $(NICKEL_REPO) $(src_dir)`) + rm(src_dir; recursive=true, force=true) end + @info "Cloning Nickel $(NICKEL_VERSION)..." + run(`git clone --depth 1 --branch $(NICKEL_VERSION) $(NICKEL_REPO) $(src_dir)`) @info "Building Nickel C API library..." try