Skip to content

Instantly share code, notes, and snippets.

@jonasbn
Created August 1, 2014 08:28
Show Gist options
  • Save jonasbn/b6ad9782d51a3eb1faff to your computer and use it in GitHub Desktop.
Save jonasbn/b6ad9782d51a3eb1faff to your computer and use it in GitHub Desktop.
Module::Build build system for SublimeText
{
"build_systems":
[
{
"name": "Module::Build",
"cmd": ["perl Build.PL --verbose=1 ; ./Build"],
"working_dir": "${project_path:${folder}}",
"selector": "source.perl",
"shell": true,
"variants": [
{
"cmd": ["perl", "./Build.PL", "--verbose=1"],
"working_dir": "${project_path:${folder}}",
"name": "prepare build: perl Build.PL"
},
{
"cmd": ["./Build", "test"],
"working_dir": "${project_path:${folder}}",
"name": "run test: ./Build test"
},
{
"cmd": ["./Build", "testcover"],
"working_dir": "${project_path:${folder}}",
"name": "create coverage report: ./Build testcover"
},
{
"cmd": ["./Build", "testpod"],
"working_dir": "${project_path:${folder}}",
"name": "test pod syntax: ./Build testpod"
},
{
"cmd": ["./Build", "realclean"],
"working_dir": "${project_path:${folder}}",
"name": "cleanup build: ./Build realclean"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment