summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2020-07-06 14:32:07 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-07-06 14:32:07 +0800
commit464829e11f5d6d63019ec167e2e1b1b7c0061f0a (patch)
tree32a40d4297093f964747387e5e0c9229e9544ab9 /Makefile
parentd0c362ae0f0f7ff4d49d899591c6cbb205e6b191 (diff)
Make interactive mode optional, allow selection of backend for windows, unix
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8063dcb..eda6156 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,14 @@ profile: target/release/dua ## run callgrind and annotate its output - linux onl
benchmark: target/release/dua ## see how fast things are, powered by hyperfine
hyperfine '$<'
-tests: unit-tests journey-tests ## run all tests
+tests: check unit-tests journey-tests ## run all tests
+
+check:## run all unit tests
+ cargo check --all
+ cargo check --all-features
+ cargo check --no-default-features
+ cargo check --features tui-unix
+ cargo check --features tui-crossplatform
unit-tests: ## run all unit tests
cargo test --all