Skip to content

Commit f5f1379

Browse files
committed
Added spellchecking script from rust-book to CI
also fixed minor typos
1 parent ed181d6 commit f5f1379

File tree

8 files changed

+448
-10
lines changed

8 files changed

+448
-10
lines changed

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,19 @@ matrix:
1717
- rust: stable
1818
os: linux
1919
env: CONTENT_TESTS=1
20+
- rust: stable
21+
os: linux
22+
env: CONTENT_TESTS=1 CONTENT_TESTS_LINKS=1
2023
allow_failures:
2124
- rust: stable
2225
os: linux
23-
env: CONTENT_TESTS=1
26+
env: CONTENT_TESTS=1 CONTENT_TESTS_LINKS=1
2427

28+
addons:
29+
apt:
30+
packages:
31+
- aspell
32+
- aspell-en
2533

2634
before_install:
2735
- ./ci/install_deps.sh

ci/dictionary.txt

Lines changed: 318 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,318 @@
1+
personal_ws-1.1 en 0 utf-8
2+
ABCDEFGHIJKLMNOPQRSTUVWXYZ
3+
Addr
4+
AddrParse
5+
AddrParseError
6+
AfterPath
7+
Akshat
8+
AlphaNumeric
9+
ApiResponse
10+
Appender
11+
AsRef
12+
Auth
13+
BACKTRACE
14+
Backtrace
15+
BeforePath
16+
BufRead
17+
BufReader
18+
ByteRecord
19+
CHARSET
20+
CSVError
21+
CString
22+
CannotBeABase
23+
ChainedError
24+
ClientBuilder
25+
CmdError
26+
Config
27+
ConsoleLogger
28+
ContentRange
29+
ContentRangeSpec
30+
ContentType
31+
Cookin
32+
CsvError
33+
CsvInnerError
34+
DEadBEEfc
35+
DateParse
36+
DateTime
37+
Datelike
38+
DecodeError
39+
Deref
40+
Deserialize
41+
Deserializer
42+
DirEntry
43+
DynamicImage
44+
EnvLogger
45+
EnvVar
46+
ErrorKind
47+
FileAppender
48+
FilterType
49+
FixedOffset
50+
Formatter
51+
FromStr
52+
FromStrError
53+
FromUtf
54+
GitHub
55+
GlobError
56+
Guybrush
57+
GzDecoder
58+
GzEncoder
59+
HEXUPPER
60+
HMAC
61+
Hackerman
62+
Hardcoded
63+
HashMap
64+
HashSet
65+
HeadersEcho
66+
HexColor
67+
HttpRequest
68+
IOError
69+
ITER
70+
ImageBuffer
71+
ImageError
72+
IndependentSample
73+
IntoInnerError
74+
IntoIter
75+
IntoIterator
76+
IoError
77+
IpAddr
78+
Iterable
79+
JSON
80+
Janeiro
81+
Json
82+
Libz
83+
LittleEndian
84+
LogBuilder
85+
LogConfig
86+
LogLevel
87+
LogLevelFilter
88+
LogMetadata
89+
LogRecord
90+
LogTarget
91+
MatchOptions
92+
MediaWiki
93+
Metadata
94+
Mmap
95+
MpscRecv
96+
Mutex
97+
MutexGuard
98+
MyFlags
99+
NaiveDate
100+
NaiveDateTime
101+
NaiveTime
102+
NotFound
103+
NulError
104+
OAuth
105+
PBKDF
106+
PNGs
107+
ParallelIterator
108+
ParseError
109+
ParseInt
110+
ParseIntError
111+
ParseOptions
112+
PartialContent
113+
PartialEq
114+
PartialRangeIter
115+
PathBuf
116+
PatternEncoder
117+
PatternError
118+
PhoneNumber
119+
REGEX
120+
RESTful
121+
RandomResponseError
122+
RateLimit
123+
ReadBytesExt
124+
ReaderBuilder
125+
RecvError
126+
Regex
127+
RegexSet
128+
RegexSetBuilder
129+
Replacer
130+
ReqError
131+
ReqParseError
132+
RequestBuilder
133+
Reqwest
134+
ReverseDependencies
135+
RwLock
136+
SecureRandom
137+
SemVer
138+
SemVerError
139+
SemVerReq
140+
Semver
141+
Serde
142+
SetLogger
143+
SetLoggerError
144+
SigningKey
145+
SocketAddrV
146+
StatusCode
147+
Stdout
148+
StringRecord
149+
StripPrefixError
150+
SyslogError
151+
SystemRandom
152+
SystemTime
153+
SystemTimeError
154+
TOML
155+
TcpListener
156+
TcpStream
157+
TempDir
158+
ThreadPool
159+
Threepwood
160+
Timelike
161+
Timestamp
162+
Toml
163+
UpperHex
164+
UrlParse
165+
UrlParseError
166+
UserAgent
167+
VarError
168+
VersionReq
169+
WalkDir
170+
Walkdir
171+
WriteBytesExt
172+
XPoweredBy
173+
XRateLimitLimit
174+
XRateLimitRemaining
175+
XRateLimitReset
176+
YAML
177+
YYYY
178+
abcde
179+
abcdefghijklmnopqrstuvwxyz
180+
addr
181+
akshat
182+
alisha
183+
appender
184+
args
185+
ascii
186+
ashley
187+
attr
188+
auth
189+
backend
190+
backtrace
191+
bitfield
192+
bitflags
193+
bitwise
194+
bool
195+
byteorder
196+
bytestring
197+
cAFeEDEcafBAd
198+
ccccff
199+
chrono
200+
colombo
201+
concat
202+
config
203+
const
204+
cpus
205+
ctrl
206+
datetime
207+
dedup
208+
deduplicated
209+
delhi
210+
deserialize
211+
deserialized
212+
deserializer
213+
dest
214+
dotfiles
215+
endian
216+
endif
217+
eprintln
218+
extern
219+
ferris
220+
filename
221+
filepath
222+
filesystem
223+
flate
224+
fname
225+
foundational
226+
fout
227+
gists
228+
github
229+
hardcoded
230+
hashtags
231+
headders
232+
hexa
233+
hmac
234+
href
235+
html
236+
http
237+
ifdef
238+
impl
239+
incrementing
240+
init
241+
initialised
242+
io's
243+
iter
244+
iterable
245+
journalctl
246+
json
247+
julia
248+
lang
249+
libhello
250+
linux
251+
logfile
252+
login
253+
loopback
254+
mediawiki
255+
memmap
256+
metadata
257+
mkdir
258+
mpsc
259+
myfile
260+
nFun
261+
oneline
262+
parallelized
263+
params
264+
passwd
265+
pbkdf
266+
preallocating
267+
prerelease
268+
prev
269+
printf
270+
println
271+
proc
272+
programmatically
273+
radix
274+
recusively
275+
recv
276+
regex
277+
repo
278+
reponse
279+
reqwest
280+
resize
281+
rustaceans
282+
rustc
283+
semver
284+
serde
285+
stderr
286+
stdin
287+
stdout
288+
strftime
289+
strs
290+
struct
291+
structs
292+
subcommands
293+
subdirectories
294+
subfolders
295+
subprocess
296+
subtype
297+
sydney
298+
symlinks
299+
syslog
300+
tempdir
301+
threadpool
302+
timestamp
303+
timezones
304+
toml
305+
typesafe
306+
unary
307+
unwinded
308+
uptime
309+
urlencoded
310+
urls
311+
userid
312+
usize
313+
vreq
314+
walkdir
315+
webpage
316+
webservice
317+
whitespace
318+
zurich

ci/install_deps.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ fi
1111

1212
if [[ "${CONTENT_TESTS:-}" == 1 ]]; then
1313
echo "Installing additional dependencies"
14-
gem install html-proofer
14+
15+
if [[ "${CONTENT_TESTS_LINKS:-}" == 1 ]]; then
16+
gem install html-proofer
17+
fi
1518
cargo install mdbook --vers '0.0.25' --debug
1619
fi
1720

0 commit comments

Comments
 (0)