title: Configure Sublime Text build system for Scala?
body: <p>I'm trying to configure a build system for Scala with SublimeText, but I am having some difficulty.  I have tried both of the following:</p>
  
  <pre><code>{
      "shell_cmd": "scala",
      "working_dir": "${project_path:${folder}}",
      "selector": "source.scala"
  }
  
  {
      "cmd": ["/path/to/bin/scala", "$file_name"],
      "working_dir": "${project_path:${folder}}",
      "selector": "source.scala",
      "shell": true
  }
  </code></pre>
  
  <p>Both of these attempts produce the same failed output - it seems to start up the interactive Scala shell rather than running my script.  Any advice?</p>