From f05a2891d3da9f9fcd9c7457ca0c2a54ff65078b Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 27 Jun 2022 03:08:59 -0700 Subject: build: rename build-related dirs Problem: Dirs "config", "packaging", and "third-party" are all closely related but this is not obvious from the layout. This adds friction for new contributors. Solution: - rename config/ to cmake.config/ - rename test/config/ to test/cmakeconfig/ because it is used in Lua tests: require('test.cmakeconfig.paths'). - rename packaging/ to cmake.packaging/ - rename third-party/ to cmake.deps/ (parallel with .deps/) --- scripts/bump_deps.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/bump_deps.lua') diff --git a/scripts/bump_deps.lua b/scripts/bump_deps.lua index 2ecbb2e658..17e3fd35d6 100644 --- a/scripts/bump_deps.lua +++ b/scripts/bump_deps.lua @@ -132,7 +132,7 @@ end local function write_cmakelists_line(symbol, kind, value) require_executable("sed") - local cmakelists_path = nvim_src_dir .. "/" .. "third-party/CMakeLists.txt" + local cmakelists_path = nvim_src_dir .. "/" .. "cmake.deps/CMakeLists.txt" run_die({ "sed", "-i", @@ -169,7 +169,7 @@ local function update_cmakelists(dependency, archive, comment) verify_branch(dependency.name) - local changed_file = nvim_src_dir .. "/" .. "third-party/CMakeLists.txt" + local changed_file = nvim_src_dir .. "/" .. "cmake.deps/CMakeLists.txt" p("Updating " .. dependency.name .. " to " .. archive.url .. "\n") write_cmakelists_line(dependency.symbol, "URL", archive.url:gsub("/", "\\/")) @@ -183,7 +183,7 @@ end local function verify_cmakelists_committed() require_executable("git") - local cmakelists_path = nvim_src_dir .. "/" .. "third-party/CMakeLists.txt" + local cmakelists_path = nvim_src_dir .. "/" .. "cmake.deps/CMakeLists.txt" run_die({ "git", "diff", "--quiet", "HEAD", "--", cmakelists_path }, cmakelists_path .. " has uncommitted changes") end -- cgit