Skip to content

Commit

Permalink
Merge pull request #1 from rust-lang/master
Browse files Browse the repository at this point in the history
Fork von rust-lang/book auf neuesten Stand aktualisieren
  • Loading branch information
damoasda authored Mar 8, 2019
2 parents 24b42c0 + 506ce62 commit 9ebf59c
Show file tree
Hide file tree
Showing 346 changed files with 3,937 additions and 33,135 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ dist: trusty
language: rust
cache: cargo
rust:
- stable
- 1.31.1
branches:
only:
- master
Expand Down
9 changes: 0 additions & 9 deletions 2018-edition/convert-quotes.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
#!/bin/bash
# Copyright 2017 The Rust Project Developers. See the COPYRIGHT
# file at the top-level directory of this distribution and at
# http://rust-lang.org/COPYRIGHT.
#
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
# option. This file may not be copied, modified, or distributed
# except according to those terms.

set -eu

Expand Down
19 changes: 5 additions & 14 deletions 2018-edition/nostarch.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
#!/bin/bash
# Copyright 2016 The Rust Project Developers. See the COPYRIGHT
# file at the top-level directory of this distribution and at
# http://rust-lang.org/COPYRIGHT.
#
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
# option. This file may not be copied, modified, or distributed
# except according to those terms.

set -eu

Expand All @@ -16,18 +7,18 @@ cargo build --release
mkdir -p tmp
rm -rf tmp/*.md

# Get all the markdown files in the src dir,
# Get all the Markdown files in the src dir,
ls src/${1:-""}*.md | \
# except for SUMMARY.md.
# except for `SUMMARY.md`.
grep -v SUMMARY.md | \
# Extract just the filename so we can reuse it easily.
xargs -n 1 basename | \
# Remove all links followed by <!-- ignore -->, then
# Change all remaining links from markdown to italicized inline text.
# Remove all links followed by `<!-- ignore -->``, then
# Change all remaining links from Markdown to italicized inline text.
while IFS= read -r filename; do
< "src/$filename" ./target/release/remove_links \
| ./target/release/link2print \
| ./target/release/remove_markup > "tmp/$filename"
done
# Concat the files into the nostarch dir.
# Concatenate the files into the `nostarch` dir.
./target/release/concat_chapters tmp nostarch
245 changes: 0 additions & 245 deletions 2018-edition/nostarch/appendices-d-and-e.md

This file was deleted.

Loading

0 comments on commit 9ebf59c

Please sign in to comment.