Skip to content

Instantly share code, notes, and snippets.

@rjattrill
Last active December 12, 2015 07:09
Show Gist options
  • Save rjattrill/4734576 to your computer and use it in GitHub Desktop.
Save rjattrill/4734576 to your computer and use it in GitHub Desktop.
Configuring Sublime Text build for Perl and Ruby. Also configured to use exec-in-window package.
{
"cmd": ["perl", "-w", "$file"],
"file_regex": ".* at (.*) line ([0-9]*)",
// Build target is exec-in-window package
"target": "exec_in_window",
"working_dir": "${project_path}",
"selector": "source.perl"
}
{
"cmd": ["ruby", "$file"],
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
"selector": "source.ruby",
"target": "exec_in_window"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment