Skip to content

Instantly share code, notes, and snippets.

@jamesthompson
Created October 1, 2012 17:23
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 jamesthompson/3813162 to your computer and use it in GitHub Desktop.
Save jamesthompson/3813162 to your computer and use it in GitHub Desktop.
Sublime sbt build settings
{
"cmd": ["/Users/James/Documents/Code/sbt/bin/sbt -no-colors compile run"],
"file_regex": "^\\[error\\] ([.a-zA-Z0-9/-]+[.]scala):([0-9]+):",
"selector": "source.scala",
"working_dir": "${project_path:${folder}}",
"shell": "true"
}
@jamesthompson
Copy link
Author

Setting the explicit path to the sbt -no-colors launch mode for building within Sublime.
Even if sbt is set in .bash_profile to be on the PATH, sublime only looks in /bin/sh for the script, hence the explicit location definition here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment