forked from autozimu/LanguageClient-neovim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
61 lines (45 loc) · 1.18 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
all: check build fmt clippy
check:
cargo check
build:
cargo build
fmt:
cargo +nightly fmt
clippy:
cargo +nightly clippy
vint:
vint .
release:
cargo build --release
cp -f target/release/languageclient bin/
chmod a+x bin/languageclient
bump-version:
cargo release --level=patch
test:
cargo test
integration-test-lint:
mypy --ignore-missing-imports \
tests \
rplugin/python3/denite/source \
rplugin/python3/deoplete/sources
flake8 .
integration-test: build integration-test-lint
tests/test.sh
integration-test-docker:
docker image pull autozimu/languageclientneovim
docker run --volume ${CURDIR}:/root/.config/nvim autozimu/languageclientneovim bash -c "\
export CARGO_TARGET_DIR=/tmp && \
cd /root/.config/nvim && \
make integration-test"
integration-test-docker-debug:
docker image pull autozimu/languageclientneovim
docker run --interactive --tty --volume ${CURDIR}:/root/.config/nvim autozimu/languageclientneovim
cleanup-binary-tags:
ci/cleanup-binary-tags.py
clean:
cargo clean
rm -rf bin/languageclient
build-docker-image: ci/Dockerfile
docker build --tag autozimu/languageclientneovim ci
publish-docker-image:
docker push autozimu/languageclientneovim