From cf8d74aba186560e8d7941e936aea1bb7eb3ce7f Mon Sep 17 00:00:00 2001 From: Aaran Xu Date: Sat, 8 Jan 2022 02:27:11 +0800 Subject: [PATCH] Update CI --- ci/dictionary.txt | 17 ++++++++++++++++- ci/spellcheck.sh | 2 ++ ci/validate.sh | 10 +++++++--- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/ci/dictionary.txt b/ci/dictionary.txt index b4dbfa6..c0f7848 100644 --- a/ci/dictionary.txt +++ b/ci/dictionary.txt @@ -6,6 +6,7 @@ adaptor adaptors AddAssign Addr +adfb afdc aggregator AGraph @@ -13,6 +14,7 @@ aliasability alignof alloc allocator +AlwaysEqual Amir anotherusername APIs @@ -49,6 +51,7 @@ BitXorAssign Bjarne Boehm bool +boolean Boolean Booleans Bors @@ -61,6 +64,8 @@ Cagain callsite CamelCase cargodoc +centric +chacha ChangeColor ChangeColorMessage charset @@ -148,6 +153,7 @@ Enums eprintln Erlang ErrorKind +eval executables expr extern @@ -170,8 +176,11 @@ formatter formatters FrenchToast FromIterator +FromResidual frontend +getrandom getter +getters GGraph GitHub gitignore @@ -264,6 +273,7 @@ login lookup loopback lossy +Lukas lval macOS Matsakis @@ -332,6 +342,8 @@ OptionalNumber OsStr OsString other's +otherinstall +OtherError OutlinePrint overloadable overread @@ -392,6 +404,7 @@ representable request's resizes resizing +ReturnedError retweet rewordings rint @@ -421,6 +434,7 @@ ShrAssign shouldn Simula siphash +SipHash situps sizeof SliceIndex @@ -471,7 +485,6 @@ supertraits TcpListener TcpStream templating -test_harness test's TextField That'd @@ -543,6 +556,7 @@ WebSocket whitespace wildcard wildcards +Wirth workflow workspace workspaces @@ -550,6 +564,7 @@ Workspaces wouldn writeln WriteMessage +xcode xpression yyyy ZipImpl diff --git a/ci/spellcheck.sh b/ci/spellcheck.sh index f1c84a5..3d61e76 100644 --- a/ci/spellcheck.sh +++ b/ci/spellcheck.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -eu + aspell --version # Checks project Markdown files for spelling mistakes. diff --git a/ci/validate.sh b/ci/validate.sh index 9e2cfdf..2e727f4 100644 --- a/ci/validate.sh +++ b/ci/validate.sh @@ -1,4 +1,8 @@ +#!/bin/bash + +set -eu + for file in src/*.md ; do - echo Checking references in $file - cargo run --quiet --bin link2print < $file > /dev/null -done \ No newline at end of file + echo Checking references in "$file" + cargo run --quiet --bin link2print < "$file" > /dev/null +done