Skip to content

Commit

Permalink
Speed up cargo build with cache
Browse files Browse the repository at this point in the history
  • Loading branch information
dfrankland committed Jan 1, 2018
1 parent 859978f commit 4e60cef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions rollup.config.js
Expand Up @@ -66,6 +66,7 @@ const baseConfig = ({
&& \
cd ${resolvePath(HOST, `.${dirname(path)}`)} \
&& \
CARGO_HOME=./.cargo
CARGO_TARGET_DIR=${DIST} \
cargo build \
--release \
Expand Down
3 changes: 3 additions & 0 deletions src/brotli/.gitignore
Expand Up @@ -8,3 +8,6 @@ Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

# Cached cargo registry files
/.cargo

0 comments on commit 4e60cef

Please sign in to comment.