compilation - Creating a Vala Sublime Text build system -


i can't seem make vala build system in sublime text 2... here's have far:

{ "cmd": ["valac", "--pkg", "gtk+-3.0", "'$file'"] } 

unfortunately, compiles code valac, doesn't run it.

how can make run compiled program straight after?

use vala instead of valac. however, keep in mind not keep resulting executable. need chain multiple command together—i don't know how sublime text, on command line like

valac -o foo --pkg gtk+-3.0 file.vala && ./foo 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -