Commit Graph

17 Commits

Author SHA1 Message Date
Eric Huss
cf633ee5b9 Fix tidy error.
Upstream tidy doesn't like the whitespace in `ci/build.sh` (no tabs,
too many newlines).
2019-10-01 08:48:26 -07:00
Carol (Nichols || Goulding)
627f2678d2 ci: validate that all used references are defined (#2032)
ci: validate that all used references are defined
2019-09-30 20:38:12 -04:00
Carol (Nichols || Goulding)
5b2740e64a Remove the check for unstable features
We don't use nightly Rust anymore, nor do we try to land docs for
features while they're still unstable, so this check is no longer
needed. The tests will just fail if we try to use a feature flag in code
listings.
2019-09-30 20:29:07 -04:00
Paul Emmerich
38ceba56a8 ci: validate that all used references are defined
this will catch issues like https://github.com/rust-lang/book/issues/2010
2019-07-14 22:25:04 +02:00
Alexander Regueiro
d1b71d1c8e Removed copyright notices & made cosmetic improvements. 2019-01-13 03:29:45 +00:00
Steve Klabnik
1fedfc4b96 move the book to the top level 2018-11-20 13:45:05 -05:00
Dale Wijnand
a18d6148d3 Dedup spellcheck.sh
Fortunately they were still identical.
2018-05-04 15:38:58 +01:00
steveklabnik
b9d3dad120 fix build issues
I shouldn't have deleted these tools
2018-04-05 13:25:59 -04:00
steveklabnik
acc5ee2513 copy second edition to 2018 edition
Also update the GitHub links of first and second edition
2018-04-05 12:51:22 -04:00
Carol (Nichols || Goulding)
64b8474948 Adding some signposts in; I'm having trouble seeing why the build's failing 2017-11-13 13:23:28 -05:00
Carol (Nichols || Goulding)
77f88336bb Add the first edition to CI so we don't break it again 😅 2017-07-22 16:31:48 -04:00
steveklabnik
59f76f1a29 Check that we don't use any unstable features.
We need to track Rust master, but don't want to cover unstable things.
As such, a new lint, `stable-check`, is added.

The second edition was already lint clean, but the first needed some
tweaks:

1. The closures chapter was showing off details of the closure traits,
   so just don't do that.
2. The FFI chapter was using internal libc to compile the tests, so just
   don't compile them anymore.
3. The compiler plugins chapter was vestigial and was moved to the
   unstable book.

Fixes #558
2017-03-23 14:14:57 -04:00
Carol (Nichols || Goulding)
dfda7b849d Fix the build to fail if spellchecking fails
return: can only `return' from a function or sourced script
2017-03-17 10:02:35 -04:00
steveklabnik
c98b075136 Work towards getting tidy clean 2017-03-13 13:51:36 -04:00
steveklabnik
6a898d9bd7 omg i am so bad at computers 2017-03-03 12:08:16 -05:00
steveklabnik
e319b90ca4 fail the build if things go wrong 2017-03-03 12:07:19 -05:00
steveklabnik
e1176055d3 extract to a shell script 2017-03-03 11:45:16 -05:00