Skip to content

Commit 73cba30

Browse files
committedDec 9, 2018
Point to new example program
1 parent 321fbc0 commit 73cba30

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed
 

‎README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ and [rustup][]. Features include:
99
- Support for compiling Rust-based extensions for projects written
1010
in other languages.
1111

12-
For an example project, see [heroku-rust-cargo-hello][].
12+
For an example project, see [rust-buildpack-example-actix][].
1313

1414
[fode]: https://github.com/ericfode/heroku-buildpack-rust
1515
[cargo]: http://crates.io/
1616
[rustup]: https://www.rustup.rs/
17-
[heroku-rust-cargo-hello]: https://github.com/emk/heroku-rust-cargo-hello
17+
[rust-buildpack-example-actix]: https://github.com/emk/rust-buildpack-example-actix
1818

1919
## Using this buildpack
2020

@@ -44,6 +44,8 @@ your application, and commit it to `git`:
4444
web: ./target/release/hello
4545
```
4646

47+
...where `hello` is the name of your binary.
48+
4749
To deploy your application, run:
4850

4951
```sh
@@ -96,7 +98,6 @@ If you have a valid `Cargo.toml` in your project, this is all you need to
9698
do. The Rust buildpack will run first, and your existing buildpack will
9799
run second.
98100

99-
100101
But if you only need Rust to build a particular Ruby gem, and you have no
101102
top-level `Cargo.toml` file, you'll need to let the buildpack know to skip
102103
the build stage. You can do this by adding the following line to

‎docker-compose-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ services:
99
environment:
1010
HOME: "/src"
1111
user: "$UID:$GROUPS"
12-
command: ["bin/compile", "/src/heroku-rust-cargo-hello", "/src/cache"]
12+
command: ["bin/compile", "/src/rust-buildpack-example-actix", "/src/cache"]

‎test_buildpack

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
set -euo pipefail
66

77
# Get an example program for testing if we don't have one yet.
8-
if [ ! -d ./heroku-rust-cargo-hello ]; then
9-
git clone https://github.com/emk/heroku-rust-cargo-hello.git
8+
if [ ! -d ./rust-buildpack-example-actix ]; then
9+
git clone https://github.com/emk/rust-buildpack-example-actix.git
1010
fi
1111

1212
# Export the current UID so that our child processes can see it. This will

0 commit comments

Comments
 (0)
Please sign in to comment.