aboutsummaryrefslogtreecommitdiff
path: root/scripts/bump_deps.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2022-06-27 03:08:59 -0700
committerJustin M. Keyes <justinkz@gmail.com>2022-06-28 04:02:29 -0700
commitf05a2891d3da9f9fcd9c7457ca0c2a54ff65078b (patch)
treede382ef0008871d7e7a41b29172b41bd97a39e05 /scripts/bump_deps.lua
parent9ddb481d88d3926111e83d512921ebe98bb426ae (diff)
downloadrneovim-f05a2891d3da9f9fcd9c7457ca0c2a54ff65078b.tar.gz
rneovim-f05a2891d3da9f9fcd9c7457ca0c2a54ff65078b.tar.bz2
rneovim-f05a2891d3da9f9fcd9c7457ca0c2a54ff65078b.zip
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/)
Diffstat (limited to 'scripts/bump_deps.lua')
-rw-r--r--scripts/bump_deps.lua6
1 files changed, 3 insertions, 3 deletions
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