aboutsummaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAge
...
* build: `make helphtml`Justin M. Keyes2018-11-05
|
* build: Unify USE_BUNDLED, USE_BUNDLED_DEPS (#9046)Justin M. Keyes2018-09-24
| | | It's confusing that the Makefile uses a different name than CMake.
* cmake: add "generated-sources" targetBjörn Linse2018-09-06
| | | | | | | This is intended to be used with source introspection tools like clangd, where it would useful to regenerate headers and source files, which introspection results depend on, without making a full rebuild which takes much longer time than just generating headers.
* build: respect $DEPS_BUILD_DIRJustin M. Keyes2018-03-11
| | | | | Without this, the CI_TARGET=lint travis job cant't find the cached deps (in $HOME/nvim-deps), nor can it update the cache.
* ci/travis: use ninja instead of makeJustin M. Keyes2018-03-11
|
* genappimage: Include update information for releases/nightliesJames McCoy2018-03-09
| | | | | | This will allow users to use AppImageUpdate to update their AppImage. It requires publishing the created zsync file alongside the appimage file for the releases.
* ci: Also lint lua code in src/nvim/luaZyX2017-05-25
|
* dist: AppImage #6638AdnoC2017-05-04
| | | | | | | scripts/genappimage.sh produces an executable: nvim-${NVIM_VERSION}-glibc${GLIBC_VERSION}-${ARCHITECTURE}.AppImage Closes #6083
* makefile: Make `lint` target depend on `clint`ZyX2017-03-31
|
* cmake: Replace RunLint.cmake with code in src/nvim/CMakeLists.txtZyX2017-03-31
| | | | | | This also removes LINT_FILE environment variable, other then that functionality is kept. It is expected that developers needing partial linting will use `make lint`, touching interesting file before (if not done already by writing to them).
* ci: Run check-single-includes in "lint" build onlyJustin M. Keyes2017-03-29
|
* ci: Check that `#include "*.h"` works as a single includeEiichi NISHINA2017-03-27
| | | | | | | | | | | Lesser form of include-what-you-use: at least guarantees that header file did not forget to include something through some other included file. Activate run_single_includes_tests on CI. Fix some IWYU violations. References #5321
* build: Makefile: Try other cmake names, or override. #6163Christian Stigen Larsen2017-02-27
| | | | | | Distributions like RHEL7 (yum) install CMake as `cmake3`. Closes #6163
* build: `oldtest` target: TEST_FILE, NVIM_PRG (#6098)Justin M. Keyes2017-02-12
| | | | | | | | | | | | | | | | | | | | | | - Add support for TEST_FILE to the `oldtest` target, for consistency with the busted/lua tests. Caveat: with the busted/lua tests TEST_FILE takes a full path, whereas for `oldtest` it must be "test_foo.res". - Add support for NVIM_PRG, again so that all test-related targets are consistent. - Use consistent name for NVIM_PRG. But still need to support NVIM_PROG for QuickBuild CI. Note: The `oldtest` target is driven by the top-level Makefile, because it requires a TTY. CMake 3.2 added a USES_TERMINAL flag to add_custom_target(). But we support CMake 2.8... add_custom_target(oldtest COMMAND make clean COMMAND make NVIM_PRG=$<TARGET_FILE:nvim> $ENV{MAKEOVERRIDES} DEPENDS nvim WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src/nvim/testdir" USES_TERMINAL true )
* build: Make clean targets more thoroughJames McCoy2016-12-02
|
* Revert "Makefile: add PREFIX variable"Marco Hinz2016-10-16
| | | | | | This reverts commit c13f72ee0a6600963a10e57155d2e814d56599e2. References #5447.
* Makefile: add PREFIX variableMarco Hinz2016-10-08
| | | | | | | | | | | | We use a Makefile which in turn uses cmake. If we wanted to set the install prefix for cmake, we had to do this so far: make CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=/tmp/nvim" That's long and hard to remember. Following the conventions of other Makefiles, this now works as well and is equivalent: make PREFIX=/tmp/nvim
* Travis: Fix accidental building of 3rd-party dependencies.Florian Walch2016-07-30
| | | | | Running tests from the top-level Makefile will use the third-party dependencies from .deps instead of the ones from the Travis cache.
* build: define `helptags` target which always runs.Justin M. Keyes2016-06-06
| | | | | | | Specify that the ${GENERATED_HELP_TAGS} "command" (output) depends on `helptags` so that it always regenerates the doc/ tags. (cmake "targets" always run, whereas "commands" are contingent on their dependencies. But we don't define doc/ dependencies because they are circular.)
* reorgJustin M. Keyes2016-06-03
|
* Makefile: Ensure tags are generated before running oldtestJames McCoy2016-05-17
|
* Makefile: let "lint" target run both clint and testlintBjörn Linse2016-05-10
|
* Add Lua 5.1 as a third party depThiago de Arruda2016-03-07
| | | | | Also add a functionaltest-lua target to run the functional tests using the lua interpreter and corresponding helper to top-level Makefile
* Make `make test` run unit tests tooMichael Reed2015-11-27
| | | | | | | | | | | refs https://github.com/neovim/neovim/pull/2124#discussion_r26107174 Unlike Travis, `make test` currently only runs functional tests. This can cause confusion since one might (understandably) think that `make test` runs unit tests too, which it doesn't. The `oldtest` target is still left out because it's quite slow and Travis already runs it.
* Tests: add luacheck for linting testsMarco Hinz2015-11-23
| | | | | | | Source: https://github.com/mpeterv/luacheck Docs: http://luacheck.readthedocs.org/en/0.12.0/index.html Run via "make testlint".
* ci: Use error suppression in place of ignored files list. #3185ZyX2015-08-20
| | | | Fixes #3174
* vim-patch:7.4.497 #2295David Bürgin2015-04-05
| | | | | | | | | | | | | Problem: With some regexp patterns the NFA engine uses many states and becomes very slow. To the user it looks like Vim freezes. Solution: When the number of states reaches a limit fall back to the old engine. (Christian Brabandt) https://github.com/vim/vim/releases/tag/v7-4-497 Helped-by: David Bürgin <676c7473@gmail.com> Helped-by: Justin M. Keyes <justinkz@gmail.com> Helped-by: Scott Prager <splinterofchaos@gmail.com>
* contrib: Added local.mk.exampleMichael Reed2015-03-17
| | | | [ci skip]
* Linting: Integrate into CMake, enable by default.Florian Walch2014-12-24
|
* Dont force ../.deps in third-party/CMakeLists.txtRui Abreu Ferreira2014-12-16
| | | | | | | | | | | - third-party is built under .deps by default instead of using its own ${CMAKE_BINARY_DIR}, move this default setting out of the cmake settings and into the Makefile. - As a consequence the workflow of building third-party using CMake should feel more natural, avoid the additional folder or setting DEPS_DIR from the command line. - This commit does not change the default behaviour when calling the Makefile wrapper.
* Allow building as a static -fPIC libraryoakes2014-12-12
|
* CMake: Rename target "test" to "functionaltest".Florian Walch2014-11-05
| | | | | | | | Remove build warning: The target name "test" is reserved or not valid for certain CMake features, such as generator expressions, and may result in undefined behavior.
* test: Replace vroom by lua/busted for functional testsThiago de Arruda2014-09-30
| | | | | | | | | | | | | | | | | | | | | The 'lupa' python package provides a simple way to seamless integrate lua and python code. This commit replaces vroom by a python script that exposes the 'neovim' package to a lua state, and invokes busted to run functional tests. This is a temporary solution that will enable writing functional tests using lua/bused while a lua client library is not available. The reason for dropping vroom is flexibility: Lua/busted has a nice DSL-style syntax while also providing the customization power of a full programming language. Another reason is to use a single framework for unit/functional tests. Two other changes were performed in this commit: - Instead of "gcc-unittest/gcc-ia32", the travis builds for gcc are now identified by "gcc/gcc-32". They will run unit/functional tests for both 64 and 32 bits. - Old integration tests(in src/nvim/testdir) are now ran by the 'oldtest' target
* build/test: setup functional tests using vroomThiago de Arruda2014-08-09
|
* Make indentation consistent: use 2-space indent alwaysZyX2014-06-18
|
* Use MAKEOVERRIDES to pass SCRIPTS/TESTNUM arguments for `make test`ZyX2014-06-18
|
* Avoid ever creating .deps directoryZyX2014-06-18
| | | | Thanks to @jszakmeister this uses make own features.
* Make it easier to change CMAKE_BUILD_TYPE in your local.mk.John Szakmeister2014-05-31
|
* Introduce nvim namespace: Fix build process.Eliseo Martínez2014-05-15
| | | | | | | - Leave src as include dir (for includes to recognize 'nvim/' prefix). - Change subdirectory from src to src/nvim. - Fix msgpack generation. - Fix some other paths to new locations.
* build: remove unnecessary flag from CMAKE_FLAGSJohn Szakmeister2014-04-30
| | | | We now append the deps install area into CMAKE_PREFIX_PATH.
* Make it easy to get a verbose build of Neovim.John Szakmeister2014-04-23
| | | | | | | | This allows you to do make VERBOSE=1 from the top-level and see the actual compile lines.
* Force the `cmake` target to re-run the CMake configuration.John Szakmeister2014-03-31
| | | | | This makes it more handy when files are added or removed from the source tree. A simple `make cmake` will re-configure and pick up the change.
* Revamp the build system.John Szakmeister2014-03-21
| | | | | | | | | | | | | | | | | | | | | This achieves several goals: * Less reliance on scripts so we have better portability to Windows (though we still have a ways to go for proper Windows support). Luajit, luarocks, moonscript, and busted are all installed via CMake now. * Trying to make use of pkg-config to get the correct libraries. The latest libuv is still broken in this regard, but we'll at least be in a position to use it. * Allow the use of Ninja or make. The former runs faster in many environments, and automatically makes use of parallel builds. This also allows for system installed dependencies--though not through the Makefile just yet--and adds support for FreeBSD. This also make us build libuv and luajit as static libraries only, since we're only concerned about having static libraries for our bundled dependencies.
* Add unit tests for mch_[gs]etperm.Thomas Wienecke2014-03-15
| | | | | Use preprocessor trick proposed by @mahkoh to import 'defines' like S_IRUSR.
* Use $(MAKE) instead of ${MAKE}, and fixup two more make invocations.John Szakmeister2014-03-01
| | | | | | | | | | Include a new SINGLE_MAKE which can be used to invoke make but using only a single job, and in way that avoids any warnings from make. Use SINGLE_MAKE to execute the tests, since they're meant to be run serially. Also, prefer the use of $(MAKE) to avoid invoking an extra subshell (saves some time).
* Add more example unit tests and run with travisThiago de Arruda2014-02-27
|
* Add basic infrastructure for unit testingThiago de Arruda2014-02-27
| | | | | | | | | | | | | | | | | | Tests will be written using the [moonscript](http://moonscript.org/) language, a lua 'dialect' that is whitespace-significant and has a syntax similar to coffeescript. The test framework used is [busted](http://olivinelabs.com/busted/), a bdd framework for lua/moonscript. Luajit has a nice ffi module, which lets lua programs link shared libraries and call it's functions without writing any C code. To take advantage of this fact for testing C functions, a new target was added to CMakeLists.txt, which compiles neovim as a shared library that is loaded by the process running the tests. This commit adds necessary code for downloading and installing a lua package manager(luarocks) locally. It wasn't added as a subtree because there are quite a few blobs in its source tree.
* Add test reporting to travis scriptThiago de Arruda2014-02-26
|
* Add valgrind suppression fileThiago de Arruda2014-02-26
|
* Add configuration to help debug memory leaksThiago de Arruda2014-02-26
|