summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 61764277..6c586645 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ build:
cargo build --release
format:
- git ls-files | grep '\.rs$$' | xargs -P 0 rustfmt
+ rustfmt src/*.rs
lint:
cargo clippy
@@ -15,7 +15,6 @@ unit-test:
end-to-end-test: build
./tests/test_raw_output_matches_git_on_full_repo_history
./tests/test_deprecated_options > /dev/null
- ./tests/test_navigate_less_history_file
release:
@make -f release.Makefile release
@@ -33,8 +32,7 @@ BENCHMARK_INPUT_FILE = /tmp/delta-benchmark-input.gitdiff
BENCHMARK_COMMAND = git log -p 23c292d3f25c67082a2ba315a187268be1a9b0ab
benchmark: build
$(BENCHMARK_COMMAND) > $(BENCHMARK_INPUT_FILE)
- hyperfine --warmup 10 --min-runs 20 \
- 'target/release/delta --no-gitconfig < $(BENCHMARK_INPUT_FILE) > /dev/null'
+ hyperfine 'target/release/delta --no-gitconfig < $(BENCHMARK_INPUT_FILE) > /dev/null'
# https://github.com/brendangregg/FlameGraph
flamegraph: build