Merge pull request #60 from nikomatsakis/release-0.9.0

Release 0.9.0 and begin version 0.10.
This commit is contained in:
Niko Matsakis 2016-01-23 13:48:26 -05:00
commit b311a988c2
11 changed files with 24 additions and 20 deletions

View File

@ -7,4 +7,6 @@ script:
- cd lalrpop
- cargo test
- cd ../lalrpop-test
- cargo test
- cd ../doc/calculator
- cargo test

View File

@ -53,10 +53,10 @@ build = "build.rs" # LALRPOP preprocessing
# Add a dependency on the LALRPOP runtime library:
[dependencies.lalrpop-util]
version = "0.7.0"
version = "0.9.0"
[build-dependencies.lalrpop]
version = "0.7.0"
version = "0.9.0"
```
And create a `build.rs` file that looks like:

View File

@ -1,3 +1,5 @@
# Version 0.10 (not yet released)
# Version 0.9
Miscellaneous bug fixes, mostly. Processing for a `build.rs` file now

View File

@ -1,11 +1,11 @@
[package]
name = "calculator"
version = "0.7.0"
version = "0.9.0"
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
build = "build.rs" # <-- We added this and everything after!
[build-dependencies]
version = "0.7.0"
lalrpop = "0.9.0"
[dependencies]
version = "0.7.0"
lalrpop-util = "0.9.0"

View File

@ -147,15 +147,15 @@ look something like:
```
[package]
name = "calculator"
version = "0.7.0"
version = "0.9.0"
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
build = "build.rs" # <-- We added this and everything after!
[build-dependencies]
lalrpop = "0.7.0"
lalrpop = "0.9.0"
[dependencies]
lalrpop-util = "0.7.0"
lalrpop-util = "0.9.0"
```
Adding a `build` directive to the `[package]` section tells Cargo to

View File

@ -1,6 +1,6 @@
[package]
name = "lalrpop-intern"
version = "0.9.0" # LALRPOP
version = "0.10.0" # LALRPOP
description = "Simple string interner used by LALRPOP"
repository = "https://github.com/nikomatsakis/lalrpop"
license = "Unlicense"

View File

@ -1,6 +1,6 @@
[package]
name = "lalrpop-snap"
version = "0.9.0" # LALRPOP
version = "0.10.0" # LALRPOP
description = "snapshot of LALRPOP for use in bootstrapping"
repository = "https://github.com/nikomatsakis/lalrpop"
license = "Unlicense"
@ -18,8 +18,8 @@ petgraph = "0.1.11"
[dependencies.lalrpop-util]
path = "../lalrpop-util"
version = "0.9.0" # LALRPOP
version = "0.10.0" # LALRPOP
[dependencies.lalrpop-intern]
path = "../lalrpop-intern"
version = "0.9.0" # LALRPOP
version = "0.10.0" # LALRPOP

View File

@ -1,6 +1,6 @@
[package]
name = "lalrpop-test"
version = "0.9.0" # LALRPOP
version = "0.10.0" # LALRPOP
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
build = "build.rs"

View File

@ -3,5 +3,5 @@ name = "lalrpop-util"
description = "Runtime library for parsers generated by LALRPOP"
repository = "https://github.com/nikomatsakis/lalrpop"
license = "Unlicense"
version = "0.9.0" # LALRPOP
version = "0.10.0" # LALRPOP
authors = ["Niko Matsakis <niko@alum.mit.edu>"]

View File

@ -1,6 +1,6 @@
[package]
name = "lalrpop"
version = "0.9.0" # LALRPOP
version = "0.10.0" # LALRPOP
description = "convenient LR(1) parser generator"
repository = "https://github.com/nikomatsakis/lalrpop"
readme = "../README.md"
@ -24,15 +24,15 @@ rand = "0.3"
[dependencies.lalrpop-util]
path = "../lalrpop-util"
version = "0.9.0" # LALRPOP
version = "0.10.0" # LALRPOP
[dependencies.lalrpop-intern]
path = "../lalrpop-intern"
version = "0.9.0" # LALRPOP
version = "0.10.0" # LALRPOP
[build-dependencies.lalrpop-snap]
path = "../lalrpop-snap"
version = "0.9.0" # LALRPOP
version = "0.10.0" # LALRPOP
# Enable codegen units: this is probably not the optimal way to do it,
# but codegen units helps a lot with compiling lrgrammar.rs (I think).

View File

@ -42,9 +42,9 @@ publish lalrpop
printf "Updated version in README and tutorial..."
perl -p -i -e 's/^version = "[0-9.]+"$/version = "'$VERSION'"/' \
README.md doc/tutorial.md doc/calculator/Cargo.toml >& $TMPDIR/publish-log || publish_fail
perl -p -i -e 's/^lalrpop = "[0-9.]+"$/version = "'$VERSION'"/' \
perl -p -i -e 's/^lalrpop = "[0-9.]+"$/lalrpop = "'$VERSION'"/' \
doc/tutorial.md doc/calculator/Cargo.toml >& $TMPDIR/publish-log || publish_fail
perl -p -i -e 's/^lalrpop-util = "[0-9.]+"$/version = "'$VERSION'"/' \
perl -p -i -e 's/^lalrpop-util = "[0-9.]+"$/lalrpop-util = "'$VERSION'"/' \
doc/tutorial.md doc/calculator/Cargo.toml >& $TMPDIR/publish-log || publish_fail
git add README.md doc/tutorial.md doc/calculator/Cargo.toml >& $TMPDIR/publish-log || publish_fail
printf "OK\n"