From 1f004970f00bd8ef7ad955b52857df136f82185b Mon Sep 17 00:00:00 2001 From: bfredl Date: Tue, 11 Mar 2025 14:01:55 +0100 Subject: feat(build): build.zig MVP: build and run functionaltests on linux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NEW BUILD SYSTEM! This is a MVP implementation which supports building the "nvim" binary, including cross-compilation for some targets. As an example, you can build a aarch64-macos binary from an x86-64-linux-gnu host, or vice versa Add CI target for build.zig currently for functionaltests on linux x86_64 only Follow up items: - praxis for version and dependency bumping - windows 💀 - full integration of libintl and gettext (or a desicion not to) - update help and API metadata files - installation into a $PREFIX - more tests and linters --- src/gen/gen_keycodes.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gen/gen_keycodes.lua') diff --git a/src/gen/gen_keycodes.lua b/src/gen/gen_keycodes.lua index 584f0a3d36..98b714dffe 100644 --- a/src/gen/gen_keycodes.lua +++ b/src/gen/gen_keycodes.lua @@ -1,7 +1,8 @@ local names_file = arg[1] +local keycodes_file = arg[2] local hashy = require('gen.hashy') -local keycodes = require('nvim.keycodes') +local keycodes = loadfile(keycodes_file)() local keycode_names = keycodes.names -- cgit