mirror of
https://github.com/neovim/neovim.git
synced 2025-12-07 15:14:04 +00:00
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/)
This commit is contained in:
@@ -7,7 +7,7 @@ local write_file, spawn, set_session, nvim_prog, exc_exec =
|
||||
helpers.exc_exec
|
||||
|
||||
local lfs = require('lfs')
|
||||
local paths = require('test.config.paths')
|
||||
local paths = require('test.cmakeconfig.paths')
|
||||
|
||||
local mpack = require('mpack')
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ local assert = require('luassert')
|
||||
local luv = require('luv')
|
||||
local lfs = require('lfs')
|
||||
local relpath = require('pl.path').relpath
|
||||
local Paths = require('test.config.paths')
|
||||
local Paths = require('test.cmakeconfig.paths')
|
||||
|
||||
assert:set_parameter('TableFormatLevel', 100)
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ main() {
|
||||
includes="$includes -I$PROJECT_SOURCE_DIR/src"
|
||||
includes="$includes -I$PROJECT_BINARY_DIR/src/nvim/auto"
|
||||
includes="$includes -I$PROJECT_BINARY_DIR/include"
|
||||
includes="$includes -I$PROJECT_BINARY_DIR/config"
|
||||
includes="$includes -I$PROJECT_BINARY_DIR/cmake.config"
|
||||
includes="$includes -I/host-includes"
|
||||
|
||||
local defines=
|
||||
|
||||
@@ -2,7 +2,7 @@ local ffi = require('ffi')
|
||||
local formatc = require('test.unit.formatc')
|
||||
local Set = require('test.unit.set')
|
||||
local Preprocess = require('test.unit.preprocess')
|
||||
local Paths = require('test.config.paths')
|
||||
local Paths = require('test.cmakeconfig.paths')
|
||||
local global_helpers = require('test.helpers')
|
||||
local assert = require('luassert')
|
||||
local say = require('say')
|
||||
|
||||
Reference in New Issue
Block a user