mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-04-25 03:02:15 +00:00
unify dep info
adjust doc cargo.toml so that publish.sh correctly unify dep version
This commit is contained in:
parent
c961159578
commit
e570f44427
@ -65,7 +65,7 @@ build = "build.rs" # LALRPOP preprocessing
|
||||
# needed if you are writing your own tokenizer by
|
||||
# hand (or if you are already using the regex crate)
|
||||
[dependencies.regex]
|
||||
version = "0.2"
|
||||
version = "0.12.5"
|
||||
|
||||
# Add a dependency on the LALRPOP runtime library:
|
||||
[dependencies.lalrpop-util]
|
||||
|
@ -5,9 +5,13 @@ authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
||||
build = "build.rs" # <-- We added this and everything after!
|
||||
workspace = "../.."
|
||||
|
||||
[build-dependencies]
|
||||
lalrpop = { version = "0.12.5", path = "../../lalrpop" }
|
||||
[build-dependencies.lalrpop]
|
||||
version = "0.12.5"
|
||||
path = "../../lalrpop"
|
||||
|
||||
[dependencies]
|
||||
lalrpop-util = { version = "0.12.5", path = "../../lalrpop-util" }
|
||||
regex = "0.2.1"
|
||||
|
||||
[dependencies.lalrpop-util]
|
||||
version = "0.12.5"
|
||||
path = "../../lalrpop-util"
|
||||
|
@ -4,8 +4,10 @@ version = "0.12.5"
|
||||
authors = ["Mako <jlauve@rsmw.net>"]
|
||||
build = "build.rs"
|
||||
|
||||
[build-dependencies]
|
||||
lalrpop = "0.12.5"
|
||||
[build-dependencies.lalrpop]
|
||||
version = "0.12.5"
|
||||
path = "../../lalrpop"
|
||||
|
||||
[dependencies]
|
||||
lalrpop-util = "0.12.5"
|
||||
[dependencies.lalrpop-util]
|
||||
version = "0.12.5"
|
||||
path = "../../lalrpop-util"
|
||||
|
@ -46,7 +46,7 @@ perl -p -i -e 's/^lalrpop = "[0-9.]+"$/lalrpop = "'$VERSION'"/' \
|
||||
doc/tutorial.md doc/*/Cargo.toml >& $TMPDIR/publish-log || publish_fail
|
||||
perl -p -i -e 's/^lalrpop-util = "[0-9.]+"$/lalrpop-util = "'$VERSION'"/' \
|
||||
doc/tutorial.md doc/*/Cargo.toml >& $TMPDIR/publish-log || publish_fail
|
||||
git add README.md doc/tutorial.md doc/*/Cargo.toml >& $TMPDIR/publish-log || publish_fail
|
||||
git add -f README.md doc/tutorial.md doc/*/Cargo.toml >& $TMPDIR/publish-log || publish_fail
|
||||
printf "OK\n"
|
||||
|
||||
printf "\nAll set. Do not forget to commit new README.md et al.\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user