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
Post a Comment