Skip to content

Commit

Permalink
Update dependencies (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuka authored May 1, 2020
1 parent d09bf94 commit f7022aa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lindera-tantivy"
version = "0.1.0"
version = "0.1.1"
authors = ["Minoru Osuka <minoru.osuka@gmail.com>"]
edition = "2018"
description = "A Tokenizer for Tantivy, based on Lindera."
Expand All @@ -13,5 +13,6 @@ categories = ["text-processing"]
license = "MIT"

[dependencies]
lindera = "0.3.4"
tantivy = "0.12.0"

lindera = "0.3.5"
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
LINDERA_TANTIVY_VERSION ?= $(shell cargo metadata --no-deps --format-version=1 | jq -r '.packages[] | select(.name=="lindera-tantivy") | .version')

.DEFAULT_GOAL := build

clean:
Expand All @@ -11,3 +13,12 @@ build:

test:
cargo test

tag:
git tag v$(LINDERA_TANTIVY_VERSION)
git push origin v$(LINDERA_TANTIVY_VERSION)

publish:
ifeq ($(shell cargo show --json lindera-tantivy | jq -r '.versions[].num' | grep $(LINDERA_TANTIVY_VERSION)),)
cargo package && cargo publish
endif

0 comments on commit f7022aa

Please # to comment.