mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-28 06:01:02 +00:00
Merge pull request #60 from nikomatsakis/release-0.9.0
Release 0.9.0 and begin version 0.10.
This commit is contained in:
commit
b311a988c2
@ -7,4 +7,6 @@ script:
|
|||||||
- cd lalrpop
|
- cd lalrpop
|
||||||
- cargo test
|
- cargo test
|
||||||
- cd ../lalrpop-test
|
- cd ../lalrpop-test
|
||||||
|
- cargo test
|
||||||
|
- cd ../doc/calculator
|
||||||
- cargo test
|
- cargo test
|
@ -53,10 +53,10 @@ build = "build.rs" # LALRPOP preprocessing
|
|||||||
|
|
||||||
# Add a dependency on the LALRPOP runtime library:
|
# Add a dependency on the LALRPOP runtime library:
|
||||||
[dependencies.lalrpop-util]
|
[dependencies.lalrpop-util]
|
||||||
version = "0.7.0"
|
version = "0.9.0"
|
||||||
|
|
||||||
[build-dependencies.lalrpop]
|
[build-dependencies.lalrpop]
|
||||||
version = "0.7.0"
|
version = "0.9.0"
|
||||||
```
|
```
|
||||||
|
|
||||||
And create a `build.rs` file that looks like:
|
And create a `build.rs` file that looks like:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# Version 0.10 (not yet released)
|
||||||
|
|
||||||
# Version 0.9
|
# Version 0.9
|
||||||
|
|
||||||
Miscellaneous bug fixes, mostly. Processing for a `build.rs` file now
|
Miscellaneous bug fixes, mostly. Processing for a `build.rs` file now
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "calculator"
|
name = "calculator"
|
||||||
version = "0.7.0"
|
version = "0.9.0"
|
||||||
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
||||||
build = "build.rs" # <-- We added this and everything after!
|
build = "build.rs" # <-- We added this and everything after!
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
version = "0.7.0"
|
lalrpop = "0.9.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
version = "0.7.0"
|
lalrpop-util = "0.9.0"
|
||||||
|
@ -147,15 +147,15 @@ look something like:
|
|||||||
```
|
```
|
||||||
[package]
|
[package]
|
||||||
name = "calculator"
|
name = "calculator"
|
||||||
version = "0.7.0"
|
version = "0.9.0"
|
||||||
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
||||||
build = "build.rs" # <-- We added this and everything after!
|
build = "build.rs" # <-- We added this and everything after!
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
lalrpop = "0.7.0"
|
lalrpop = "0.9.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lalrpop-util = "0.7.0"
|
lalrpop-util = "0.9.0"
|
||||||
```
|
```
|
||||||
|
|
||||||
Adding a `build` directive to the `[package]` section tells Cargo to
|
Adding a `build` directive to the `[package]` section tells Cargo to
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "lalrpop-intern"
|
name = "lalrpop-intern"
|
||||||
version = "0.9.0" # LALRPOP
|
version = "0.10.0" # LALRPOP
|
||||||
description = "Simple string interner used by LALRPOP"
|
description = "Simple string interner used by LALRPOP"
|
||||||
repository = "https://github.com/nikomatsakis/lalrpop"
|
repository = "https://github.com/nikomatsakis/lalrpop"
|
||||||
license = "Unlicense"
|
license = "Unlicense"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "lalrpop-snap"
|
name = "lalrpop-snap"
|
||||||
version = "0.9.0" # LALRPOP
|
version = "0.10.0" # LALRPOP
|
||||||
description = "snapshot of LALRPOP for use in bootstrapping"
|
description = "snapshot of LALRPOP for use in bootstrapping"
|
||||||
repository = "https://github.com/nikomatsakis/lalrpop"
|
repository = "https://github.com/nikomatsakis/lalrpop"
|
||||||
license = "Unlicense"
|
license = "Unlicense"
|
||||||
@ -18,8 +18,8 @@ petgraph = "0.1.11"
|
|||||||
|
|
||||||
[dependencies.lalrpop-util]
|
[dependencies.lalrpop-util]
|
||||||
path = "../lalrpop-util"
|
path = "../lalrpop-util"
|
||||||
version = "0.9.0" # LALRPOP
|
version = "0.10.0" # LALRPOP
|
||||||
|
|
||||||
[dependencies.lalrpop-intern]
|
[dependencies.lalrpop-intern]
|
||||||
path = "../lalrpop-intern"
|
path = "../lalrpop-intern"
|
||||||
version = "0.9.0" # LALRPOP
|
version = "0.10.0" # LALRPOP
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "lalrpop-test"
|
name = "lalrpop-test"
|
||||||
version = "0.9.0" # LALRPOP
|
version = "0.10.0" # LALRPOP
|
||||||
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
||||||
|
@ -3,5 +3,5 @@ name = "lalrpop-util"
|
|||||||
description = "Runtime library for parsers generated by LALRPOP"
|
description = "Runtime library for parsers generated by LALRPOP"
|
||||||
repository = "https://github.com/nikomatsakis/lalrpop"
|
repository = "https://github.com/nikomatsakis/lalrpop"
|
||||||
license = "Unlicense"
|
license = "Unlicense"
|
||||||
version = "0.9.0" # LALRPOP
|
version = "0.10.0" # LALRPOP
|
||||||
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "lalrpop"
|
name = "lalrpop"
|
||||||
version = "0.9.0" # LALRPOP
|
version = "0.10.0" # LALRPOP
|
||||||
description = "convenient LR(1) parser generator"
|
description = "convenient LR(1) parser generator"
|
||||||
repository = "https://github.com/nikomatsakis/lalrpop"
|
repository = "https://github.com/nikomatsakis/lalrpop"
|
||||||
readme = "../README.md"
|
readme = "../README.md"
|
||||||
@ -24,15 +24,15 @@ rand = "0.3"
|
|||||||
|
|
||||||
[dependencies.lalrpop-util]
|
[dependencies.lalrpop-util]
|
||||||
path = "../lalrpop-util"
|
path = "../lalrpop-util"
|
||||||
version = "0.9.0" # LALRPOP
|
version = "0.10.0" # LALRPOP
|
||||||
|
|
||||||
[dependencies.lalrpop-intern]
|
[dependencies.lalrpop-intern]
|
||||||
path = "../lalrpop-intern"
|
path = "../lalrpop-intern"
|
||||||
version = "0.9.0" # LALRPOP
|
version = "0.10.0" # LALRPOP
|
||||||
|
|
||||||
[build-dependencies.lalrpop-snap]
|
[build-dependencies.lalrpop-snap]
|
||||||
path = "../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,
|
# 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).
|
# but codegen units helps a lot with compiling lrgrammar.rs (I think).
|
||||||
|
@ -42,9 +42,9 @@ publish lalrpop
|
|||||||
printf "Updated version in README and tutorial..."
|
printf "Updated version in README and tutorial..."
|
||||||
perl -p -i -e 's/^version = "[0-9.]+"$/version = "'$VERSION'"/' \
|
perl -p -i -e 's/^version = "[0-9.]+"$/version = "'$VERSION'"/' \
|
||||||
README.md doc/tutorial.md doc/calculator/Cargo.toml >& $TMPDIR/publish-log || publish_fail
|
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
|
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
|
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
|
git add README.md doc/tutorial.md doc/calculator/Cargo.toml >& $TMPDIR/publish-log || publish_fail
|
||||||
printf "OK\n"
|
printf "OK\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user