-
-
Save Foxboron/4106748 to your computer and use it in GitHub Desktop.
Leiningen.sublime-build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
# Copy the following and place it a file called Leiningen.sublime-build in the Sublime user packages folder (~/.config/sublime-text-2/Packages/User on Linux). | |
# Select this as the build system for the project using Tools/Build System/Leiningen. | |
# You can then bring up the Sublime Command Palette (ctrl+shift+P on Windows/Linux) and issue any of the commands # (build, documentation, clean, run, test, etc). By default, build is bound to ctrl+b and run to ctrl+shift+b. | |
{ | |
"cmd": ["lein", "compile", ":all"], | |
"working_dir": "$file", | |
"variants": [ | |
{ "cmd": ["lein", "marg", "-m", "-d", "docs"], | |
"name": "Documentation" | |
}, | |
{ "cmd": ["lein", "clean"], | |
"name": "Clean" | |
}, | |
{ "cmd": ["lein", "run"], | |
"name": "Run" | |
}, | |
{ "cmd": ["lein", "test"], | |
"name": "Test" | |
}, | |
{ "cmd": ["lein", "retest"], | |
"name": "Re-test" | |
}, | |
{ "cmd": ["lein", "uberjar"], | |
"name": "Uberjar" | |
}, | |
{ "cmd": ["lein", "jar"], | |
"name": "Jar" | |
}, | |
{ "cmd": ["lein", "check"], | |
"name": "Check" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment