aboutsummaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAge
* 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
|
* Makefile: use static linkage with bundled libuvRich Wareham2014-02-26
| | | | | Use the new LibUV_USE_STATIC configuration flag to use static linkage when using the bundled libuv.
* Makefile: use "make -C build" idiomRich Wareham2014-02-26
| | | | | | | | Change an explicit ``cd build && make`` into the more usual ``${MAKE} -C build`` style of invoking make in a subdirectory. This should mean that ``make -jN`` from the top-level Makefile should work. Closes #162.
* Makefile: fetch deps before running CMakeRich Wareham2014-02-26
| | | | CMake now required libuv so fetch it first.
* Makefile: add .deps/ to CMake prefix pathRich Wareham2014-02-26
| | | | | | The CMake prefix path is the set of directories CMake searches for libraries, header files, etc. Use the .deps directory we create when building libuv as one of those locations.
* Merge branch 'bundle-libuv' of github.com:rjw57/neovim into rjw57-bundle-libuvThiago de Arruda2014-02-26
|\
| * Makefile: refer to renamed compile-libuv.shRich Wareham2014-02-24
| | | | | | | | get-libuv.sh was renamed to compile-libuv.sh
* | Makefile: allow configuration of CMake flagsRich Wareham2014-02-25
| | | | | | | | | | | | | | Although CMAKE_FLAGS was already a Makefile variable, it didn't have an empty default value meaning that extending the flags to CMake in a clean way was difficult. Add a CMAKE_EXTRA_FLAGS variable which is appended to the default flags.
* | Makefile: add install targetRich Wareham2014-02-25
| | | | | | | | | | | | | | | | | | | | | | This simply calls the install target in the build directory. IMHO I think it's looking a bit hacky having a separate Makefile target to do this rather than using the usual CMake workflow but mine is not to reason why... [Also, I've copied ``cd build && make ...`` although I'm sure ``$MAKE -C build/ ...`` is probably the Right Thing (TM).] Note that you'll have to set CMAKE_INSTALL_PREFIX on the cmake command line to change where this installs to.
* | Add local.mk include in makefileThiago de Arruda2014-02-25
| | | | | | | | This can be used by devs that need their own custom targets
* | Changed name of binary (vim -> nvim).scott-linder2014-02-24
| | | | | | | | Also updated affected config files and test49.vim
* | Changed binary output directory from src/ to bin/jdiez172014-02-24
|/
* Set vim binary as default make targetThiago de Arruda2014-02-01
|
* Automate libuv download and buildThiago de Arruda2014-02-01
|
* Import vim from changeset v5628:c9cad40b4181Thiago de Arruda2014-01-31
- Cleanup source tree, leaving only files necessary for compilation/testing - Process files through unifdef to remove tons of FEAT_* macros - Process files through uncrustify to normalize source code formatting. - Port the build system to cmake