Use --no-color option of rspec
This commit is contained in:
parent
a31cd7e6a9
commit
f263264a77
9
zdi.el
9
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."
|
||||
|
|
Loading…
Reference in a new issue