Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Examples and tests #64

Merged
merged 4 commits into from
Feb 17, 2018
Merged

Examples and tests #64

merged 4 commits into from
Feb 17, 2018

Conversation

killercup
Copy link
Owner

cf. #63

@killercup killercup force-pushed the examples-and-tests branch 3 times, most recently from c8982e5 to 6caca78 Compare February 17, 2018 16:45
First step towards #63. Instead of `.cargo/config` and recompiling stuff
over and over again, we'll be adding sub-crates to `examples/`.
#63 is going according to plan.
This changes the call to waltz to render the code from the guides into
the `examples/` directory instead of a some temporary directory and
assert that they are checked in.

cf. #63
@killercup
Copy link
Owner Author

killercup commented Feb 17, 2018

Memo to self: Add a leading newline when waltz appends to files. (killercup/waltz#15)

The idea is this: Since the code from the guides is now checked in as
crates in `examples/`, we can call `cargo test --all` in the one CI
build and only use the waltz build step to assert that they are up to
date.

While we're at it, let's also turn on caching.

cf .#63
@killercup
Copy link
Owner Author

bors r+

bors bot added a commit that referenced this pull request Feb 17, 2018
64: Examples and tests r=killercup a=killercup

cf. #63
@bors
Copy link

bors bot commented Feb 17, 2018

Build succeeded

@bors bors bot merged commit 759696d into master Feb 17, 2018
@killercup killercup deleted the examples-and-tests branch February 17, 2018 22:21
@killercup killercup mentioned this pull request Feb 18, 2018
8 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant