Skip to content

Commit 839e46d

Browse files
committed
Handle output of "swift build" and "swift package"
#195
1 parent 9fbcad0 commit 839e46d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

swift-mode-repl.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ The string is split by spaces, then unquoted."
106106
:type 'string
107107
:safe #'stringp)
108108

109-
(defcustom swift-mode:swift-testing-command-regexp "\\<swift test\\>"
109+
(defcustom swift-mode:swift-testing-command-regexp
110+
"\\<swift \\(?:test\\|package\\|build\\)\\>"
110111
"Regexp to of command line of Swift Testing.
111112
112113
When the command of `compile' matches this regexp, its

0 commit comments

Comments
 (0)