Instantly share code, notes, and snippets.

Embed
What would you like to do?
Foreman project sublime build file for Ruby 2.0+
{
"selector": "source.ruby",
"working_dir": "/home/lzap/work/foreman",
"cmd": [
"bundle", "exec", "rake", "test"
],
"variants": [
{
"name": "Run a single test",
"cmd": [
"bundle", "exec", "ruby", "-Itest", "-Ilib", "$file"
]
},
{
"name": "Run Discovery plugin tests",
"cmd": [
"bundle", "exec", "rake", "test:discovery"
]
},
{
"name": "Run Bootdisk plugin tests",
"cmd": [
"bundle", "exec", "rake", "test:bootdisk"
]
}
],
"file_regex": "^\\s*(?:\\d:)?\\s*(?:from )?([^:]+):(\\d+):in"
}
@lzap

This comment has been minimized.

Copy link
Owner

lzap commented Sep 5, 2018

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