Closed yochem closed 3 weeks ago
Any way to run git restore .
before the update? That would clean up the local changes.
Alternatively, I guess we could create a local directory with priority over the prebuilt one. PR welcome, I don't have much free time at the moment.
If I understand correctly:
Is that correct? If so, we can have Make generate a local-native.so
binary. If that file is present, it is used from the lua code. Otherwise the os-arch.so
binary. I can for sure create a PR for this. Let me know if my assumptions and approach are right :)
I would approach it by creating an empty directory with echo '*' > ./static-local/.gitignore
. Then something in make
to generate binaries at either ./static
(for the CI) or ./static-local
(for end-users). Then the lua code can just try ./static-local
before trying ./static
.
Lazy.nvim or other version-control based package managers break after installing this plugin and building the static files with
make
:I followed the recommended installation steps for care.nvim:
But running
make
during installation creates new static binaries, and Lazy.nvim does not want to overwrite them.