Use --no-color option of rspec

This commit is contained in:
Frederik Hanghøj Iversen 2020-02-11 09:51:33 +01:00
parent a31cd7e6a9
commit f263264a77
1 changed files with 1 additions and 8 deletions

9
zdi.el
View File

@ -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."