Skip to content
This repository was archived by the owner on Aug 17, 2020. It is now read-only.

Commit c7b5872

Browse files
committed
Auto merge of #15 - Hoverbear:tests, r=Hoverbear
Clean readme
2 parents d5f292d + 57115c9 commit c7b5872

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@
55
**Features:**
66

77
* Cached `multirust`, Rust toolchain.
8-
* Auto-updating of toolchain.
8+
* Caching of previous build artifacts to (potentially dramatically) speed up
9+
similar builds.
10+
* Configurable version selection inside of the `Cargo.toml`.
911

1012
## Configuration
1113

12-
Currently we abuse the `Cargo.toml` file and use a `[target.heroku]` item. By
13-
default the buildpack will use the latest `nightly` builds.
14+
You can use any override you would pass `multirust` for this buildpack.
1415

15-
You can use any override you would pass multirust here.
16+
We currently (ab)use the `cargo`'s "target" feature to set the version desired.
17+
Unfortunately because of this there are sometimes (harmless) `cargo` warnings
18+
about an unused value in the `toml` file.
1619

1720
Example:
1821

@@ -26,7 +29,7 @@ authors = ["Andrew Hobden <[email protected]>"]
2629
iron = "*"
2730

2831
[target.heroku]
29-
override = "1.3.0-beta"
32+
version = "nightly"
3033
```
3134

3235
## Instructions
@@ -86,7 +89,8 @@ application's `web` dyno with:
8689
heroku ps:scale web=1
8790
```
8891

89-
Now you can visit [`https://$APP.herokuapp.com/`](https://rust-buildpack-test.herokuapp.com/) and see your application!
92+
Now you can visit [`https://$APP.herokuapp.com/`](https://rust-buildpack-test.herokuapp.com/)
93+
and see your application!
9094

9195
## Testing
9296

@@ -96,4 +100,5 @@ If you have Docker, you can test this buildpack by doing the following:
96100
make
97101
```
98102

99-
The `Makefile` defines how to pull down the testrunner and build the appropriate docker container, then test the buildpack.
103+
The `Makefile` defines how to pull down the testrunner and build the appropriate
104+
docker container, then test the buildpack.

0 commit comments

Comments
 (0)