aboutsummaryrefslogtreecommitdiff
path: root/src/clint.py
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-03-31 10:51:41 +0300
committerZyX <kp-pav@yandex.ru>2017-03-31 16:04:17 +0300
commit030c0588a04c7b201ed21ab6bcbc38c040e3d5b6 (patch)
tree6404c72bd7c315cc479f87de3f9e6cd259717bf8 /src/clint.py
parenta1c928e70cd995426449ac6ec6df3b5a492580e5 (diff)
downloadrneovim-030c0588a04c7b201ed21ab6bcbc38c040e3d5b6.tar.gz
rneovim-030c0588a04c7b201ed21ab6bcbc38c040e3d5b6.tar.bz2
rneovim-030c0588a04c7b201ed21ab6bcbc38c040e3d5b6.zip
cmake: Add `clint` target to build Makefile
Allows linting only modified files and linting multiple files in parallel. In the current state is rather slow because errors.json is a 6 MiB file and needs to be reparsed each time. Results on my system (6-core): # In build dir, actually parallel make -j5 clint 241.24s user 8.39s system 334% cpu 1:14.74 total # In root, one process make -j5 clint 60.69s user 0.37s system 93% cpu 1:05.19 total In both cases download time included. That is not well for travis (though I would keep travis as-is because new variant will fail before checking all files), but already good enough for regular development: total times are nearly identical and this is the *full* build, further `make -C build clint` will check only modified files.
Diffstat (limited to 'src/clint.py')
0 files changed, 0 insertions, 0 deletions