summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-04-16 20:37:00 -0400
committerDan Davison <dandavison7@gmail.com>2020-04-16 20:37:00 -0400
commit93b1876c65024d3104c73cc1824ffdf24fc8e0a8 (patch)
tree03d4c1c446b52d4025875f7b2aca3e9d8f6ef503 /Makefile
parent98cee11959c76aa05ef942353513a0bfea1d71a1 (diff)
Use perl instead of sed in end-to-end test
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d9fb5a90..759070d8 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ unit-test:
cargo test
end-to-end-test: build
- bash -c "diff -u <(git log -p) <(git log -p | target/release/delta --color-only | sed 's/\x1b\[[0-9;]*m//g')"
+ bash -c "diff -u <(git log -p) <(git log -p | target/release/delta --color-only | perl -pe 's/\e\[[0-9;]*m//g')"
release:
@make -f release.Makefile release