Skip to content

Commit

Permalink
Format Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
ghuls authored and ritchie46 committed Nov 10, 2021
1 parent ed2ca21 commit cbc6f2d
Showing 1 changed file with 24 additions and 20 deletions.
44 changes: 24 additions & 20 deletions polars/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,46 +4,50 @@ fmt:

check:
cargo check --all-features \
-p polars-core \
-p polars-io \
-p polars-lazy \
-p polars-arrow
-p polars-core \
-p polars-io \
-p polars-lazy \
-p polars-arrow

clippy:
cargo clippy -Z unstable-options --all-features \
-p polars-core \
-p polars-io \
-p polars-lazy \
-p polars-arrow
-p polars-core \
-p polars-io \
-p polars-lazy \
-p polars-arrow

clippy-default:
cargo clippy -Z unstable-options

test:
cargo test --all-features \
-p polars-lazy \
-p polars-io \
-p polars-core \
-p polars-arrow -- \
--test-threads=2
-p polars-lazy \
-p polars-io \
-p polars-core \
-p polars-arrow \
-- \
--test-threads=2

miri:
# not tested on all features because miri does not support SIMD
# some tests are also filtered, because miri cannot deal with the rayon threadpool
# Miri also reports UB in prettytable.rs, so we must toggle that feature off.
MIRIFLAGS="-Zmiri-disable-isolation" \
cargo miri test \
--no-default-features \
-p polars-core \
-p polars-arrow --

--no-default-features \
-p polars-core \
-p polars-arrow \
--

test-doc:
cargo test -p polars-lazy -p polars-io -p polars-core -p polars-arrow --doc

cargo test --doc \
-p polars-lazy \
-p polars-io \
-p polars-core \
-p polars-arrow

pre-commit: fmt clippy clippy-default


check-features:
cargo hack check --each-feature --no-dev-deps --features private
cargo hack check --each-feature --no-dev-deps --features private

0 comments on commit cbc6f2d

Please sign in to comment.