I´m using Sublime Text 2 together with the ant build system. CTRL+B works perfectly fine to start the build with the default target. However my question is, is there a ways to define different ant build targets and have a mechanism to switch between them easily?
I thought about creating additional custom build commands for each target – for example like “clean”. It works, but that is not the best approach in my eyes because you have to go to “Tools > Build System > Ant (clean)” and hit CTRL+B afterwards.
Save this build file as *.sublime-build file in the Packages/User folder
ctrl+bRunin thevariantsarray will run onctrl+shift+bname. i.e. hitctrl+shift+pand typeSolve World Hungerto run the solve world hunger command.