Skip to content

Instantly share code, notes, and snippets.

@ostinelli
Last active November 7, 2019 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ostinelli/72f695d5df098b03e9fe1796a88bee42 to your computer and use it in GitHub Desktop.
Save ostinelli/72f695d5df098b03e9fe1796a88bee42 to your computer and use it in GitHub Desktop.
[Intellij] Run mix tests in open terminal
Program: /Users/roberto/workspace/intellij_run_cmd
Arguments: "mix test $FilePathRelativeToProjectRoot$:$SelectionEndLine$"
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