Skip to content

Commit

Permalink
Merge pull request #50 from epage/codegen
Browse files Browse the repository at this point in the history
refactor(dict): Speed up build times by caching codegen
  • Loading branch information
epage committed Oct 6, 2019
2 parents caaadb0 + 7a637c7 commit 948eb0e
Show file tree
Hide file tree
Showing 9 changed files with 36,072 additions and 423 deletions.
12 changes: 9 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,24 @@ rust:
matrix:
include:
- env: RUSTFMT
rust: 1.35.0 # `stable`: Locking down for consistent behavior
rust: 1.38.0 # `stable`: Locking down for consistent behavior
install:
- rustup component add rustfmt
script:
- cargo fmt --all -- --check
- env: CodeGen
rust: 1.38.0 # `stable`: Locking down for consistent behavior
install:
- rustup component add rustfmt
script:
- cargo run --package typos-codegen -- --input typos-dict/assets/words.csv --output typos-dict/src/dict_codegen.rs --check
- env: RUSTFLAGS="-D warnings"
rust: 1.35.0 # `stable`: Locking down for consistent behavior
rust: 1.38.0 # `stable`: Locking down for consistent behavior
install:
script:
- cargo check --tests --all
- env: CLIPPY
rust: 1.35.0 # `stable`: Locking down for consistent behavior
rust: 1.38.0 # `stable`: Locking down for consistent behavior
install:
- rustup component add clippy
script:
Expand Down

0 comments on commit 948eb0e

Please sign in to comment.