Skip to content

Commit

Permalink
More spell checks; add spell check to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
john-cd committed Jan 15, 2024
1 parent 930c2d1 commit affb267
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ COPY . .

ENV CARGO_TARGET_DIR=./target/

## Make sure the start script has permission to execute
RUN chmod +x ./.devcontainer/ci.sh
## Make sure the start scripts have permission to execute
RUN chmod +x ./.devcontainer/ci.sh; chmod +x ./.devcontainer/spellcheck.sh

ENTRYPOINT [ "./.devcontainer/ci.sh" ]
3 changes: 3 additions & 0 deletions .devcontainer/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ set -o pipefail

echo "----------"

## Spell checks
.devcontainer/spellcheck.sh list

## Checks the Rust code formatting
## Fails if not formatted properly
cargo +nightly fmt --all --check
Expand Down
13 changes: 13 additions & 0 deletions .devcontainer/dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ personal_ws-1.1 en 0 utf-8
abcde
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
actix
Actix
Addr
addr
Expand Down Expand Up @@ -29,6 +30,7 @@ async
attr
Auth
auth
axum
Axum
backend
BACKTRACE
Expand All @@ -49,6 +51,7 @@ CannotBeABase
ccccff
ChainedError
CHARSET
cheatsheets
chrono
ClientBuilder
Clippy
Expand All @@ -63,6 +66,7 @@ ContentRange
ContentRangeSpec
ContentType
Cookin
cors
CORS
cpus
CString
Expand Down Expand Up @@ -95,6 +99,7 @@ endif
EnvLogger
EnvVar
Enums
enums
eprintln
ErrorKind
extern
Expand Down Expand Up @@ -128,6 +133,7 @@ Hackerman
Hardcoded
hardcoded
HashMap
hashmaps
HashSet
hashtag
HASHTAG
Expand Down Expand Up @@ -195,12 +201,15 @@ mediawiki
memmap
Metadata
metadata
middleware
Middleware
miri
Miri
mkdir
Mmap
mpsc
MpscRecv
multithreading
Mutex
MutexGuard
myfile
Expand All @@ -226,6 +235,7 @@ PartialContent
PartialEq
PartialRangeIter
passwd
pasteable
PathBuf
PatternEncoder
PatternError
Expand Down Expand Up @@ -323,7 +333,9 @@ Timelike
Timestamp
timestamp
timezones
todo
TODO
tokio
Tokio
TOML
Toml
Expand All @@ -350,6 +362,7 @@ Versioning
versioning
VersionReq
vreq
wasm
Wasm
WASM
WalkDir
Expand Down
2 changes: 1 addition & 1 deletion src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
- [CLI](domains/cli.md)
- [WASM](domains/wasm.md)
- [GUI](domains/gui.md)
- [Cross-platform](domains/crossplatform.md)
- [Cross-platform](domains/cross_platform.md)
- [Cloud](domains/cloud.md)
- [Data](domains/data.md)
- [ML](domains/ml.md)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/domains/domains.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- [CLI](cli.md)
- [WASM](wasm.md)
- [GUI programming](gui.md)
- [Cross-platform development](crossplatform.md)
- [Cross-platform development](cross_platform.md)
- [Cloud](cloud.md)
- [Data](data.md)
- [ML](ml.md)
Expand Down

0 comments on commit affb267

Please sign in to comment.