From f263264a77a77e28507d2d74f343f2442a9ac4eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederik=20Hangh=C3=B8j=20Iversen?= Date: Tue, 11 Feb 2020 09:51:33 +0100 Subject: [PATCH] Use --no-color option of rspec --- zdi.el | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/zdi.el b/zdi.el index 0d327e7..736a335 100644 --- a/zdi.el +++ b/zdi.el @@ -13,14 +13,7 @@ "Get the project-relative path of the current buffer." (file-relative-name buffer-file-name (projectile-project-root))) -(defvar zdi-build-command-format - "source ~/git/zendesk/zdi/dockmaster/zdi.sh -function strip-colors() { - gsed -r \"s/\\x1B\\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g\" -} - -zdi help_center -d run bundle exec rspec %s | strip-colors -") +(defvar zdi-build-command-format "docker exec -it help_center bundle exec rspec --no-color %s") (defun zdi-set-compile-command () "Set the command used to compile your project to run rspec through zdi."