diff --git a/.travis.yml b/.travis.yml index 6c8167a..e12ff7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,4 +7,6 @@ script: - cd lalrpop - cargo test - cd ../lalrpop-test + - cargo test + - cd ../doc/calculator - cargo test \ No newline at end of file diff --git a/README.md b/README.md index 62b4788..7b6ed2f 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/RELEASES.md b/RELEASES.md index b208cd0..8f5e1e4 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,5 @@ +# Version 0.10 (not yet released) + # Version 0.9 Miscellaneous bug fixes, mostly. Processing for a `build.rs` file now diff --git a/doc/calculator/Cargo.toml b/doc/calculator/Cargo.toml index 50b7eee..9dc9d8d 100644 --- a/doc/calculator/Cargo.toml +++ b/doc/calculator/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "calculator" -version = "0.7.0" +version = "0.9.0" authors = ["Niko Matsakis "] 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" diff --git a/doc/tutorial.md b/doc/tutorial.md index fb543af..328e800 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -147,15 +147,15 @@ look something like: ``` [package] name = "calculator" -version = "0.7.0" +version = "0.9.0" authors = ["Niko Matsakis "] 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 diff --git a/lalrpop-intern/Cargo.toml b/lalrpop-intern/Cargo.toml index 0f2b01c..8de4de9 100644 --- a/lalrpop-intern/Cargo.toml +++ b/lalrpop-intern/Cargo.toml @@ -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" diff --git a/lalrpop-snap/Cargo.toml b/lalrpop-snap/Cargo.toml index 3382143..b6c9870 100644 --- a/lalrpop-snap/Cargo.toml +++ b/lalrpop-snap/Cargo.toml @@ -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 diff --git a/lalrpop-test/Cargo.toml b/lalrpop-test/Cargo.toml index ba1e093..f87d61e 100644 --- a/lalrpop-test/Cargo.toml +++ b/lalrpop-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lalrpop-test" -version = "0.9.0" # LALRPOP +version = "0.10.0" # LALRPOP authors = ["Niko Matsakis "] build = "build.rs" diff --git a/lalrpop-util/Cargo.toml b/lalrpop-util/Cargo.toml index 7829b42..28df15d 100644 --- a/lalrpop-util/Cargo.toml +++ b/lalrpop-util/Cargo.toml @@ -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 "] diff --git a/lalrpop/Cargo.toml b/lalrpop/Cargo.toml index e42e194..f7e91c8 100644 --- a/lalrpop/Cargo.toml +++ b/lalrpop/Cargo.toml @@ -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). diff --git a/publish.sh b/publish.sh index 83156a0..49f1a0f 100755 --- a/publish.sh +++ b/publish.sh @@ -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"