Skip to content

Commit 46c8c64

Browse files
author
Junfeng Li
committed
Switch default Makefile target to release.
So end user can simply run `make` to setup.
1 parent f7519a3 commit 46c8c64

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- image: autozimu/languageclientneovim
1111
steps:
1212
- checkout
13-
- run: cargo fmt -- --check && make test && make integration-test
13+
- run: make ci
1414
deploy:
1515
docker:
1616
- image: autozimu/rust-cross-for-macos

Makefile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
all: check build fmt clippy
1+
all: release
2+
3+
dev: build fmt clippy vint python-lint
4+
5+
ci: vint python-lint test integration-test
6+
cargo fmt -- --check
27

38
check:
49
cargo check
@@ -27,14 +32,14 @@ bump-version:
2732
test:
2833
cargo test
2934

30-
integration-test-lint:
35+
python-lint:
3136
mypy --ignore-missing-imports \
3237
tests \
3338
rplugin/python3/denite/source \
3439
rplugin/python3/deoplete/sources
3540
flake8 .
3641

37-
integration-test: build integration-test-lint
42+
integration-test: build
3843
tests/test.sh
3944

4045
integration-test-docker:

0 commit comments

Comments
 (0)