branch: elpa/swift-mode commit 839e46d1621a60ed79e3cfe01266dc27721654bd Author: taku0 <mxxouy6x3m_git...@tatapa.org> Commit: taku0 <mxxouy6x3m_git...@tatapa.org>
Handle output of "swift build" and "swift package" https://github.com/swift-emacs/swift-mode/issues/195 --- swift-mode-repl.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/swift-mode-repl.el b/swift-mode-repl.el index c76e020e0d..005f48edd4 100644 --- a/swift-mode-repl.el +++ b/swift-mode-repl.el @@ -106,7 +106,8 @@ The string is split by spaces, then unquoted." :type 'string :safe #'stringp) -(defcustom swift-mode:swift-testing-command-regexp "\\<swift test\\>" +(defcustom swift-mode:swift-testing-command-regexp + "\\<swift \\(?:test\\|package\\|build\\)\\>" "Regexp to of command line of Swift Testing. When the command of `compile' matches this regexp, its