mirror of https://github.com/rust-lang/book
set -eu in all bash scripts
This commit is contained in:
parent
4f7799e3b3
commit
09e687ec7a
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
aspell --version
|
aspell --version
|
||||||
|
|
||||||
# Checks project Markdown files for spelling mistakes.
|
# Checks project Markdown files for spelling mistakes.
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
for file in src/*.md ; do
|
for file in src/*.md ; do
|
||||||
echo Checking references in $file
|
echo Checking references in $file
|
||||||
cargo run --quiet --bin link2print < $file > /dev/null
|
cargo run --quiet --bin link2print < $file > /dev/null
|
||||||
|
|
Loading…
Reference in New Issue