Last active
November 7, 2019 15:21
-
-
Save ostinelli/72f695d5df098b03e9fe1796a88bee42 to your computer and use it in GitHub Desktop.
[Intellij] Run mix tests in open terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program: /Users/roberto/workspace/intellij_run_cmd | |
Arguments: "mix test $FilePathRelativeToProjectRoot$:$SelectionEndLine$" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
osascript -e ' | |
tell application "Terminal" | |
if not (exists window 1) then reopen | |
activate | |
do script "'"$1"'" in window 1 | |
end tell | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment