Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.589 kb
require 'rake/clean'
CLEAN = FileList["build/vaedit*"]
SRC = FileList["vaedit/*.vala"]
DEPS = %w[gee-1.0 gio-2.0 gtksourceview-2.0 gtk+-2.0]
CC_OPTS = nil
task :default => "build/vaedit"
file "build/vaedit" => SRC do
sh "valac #{DEPS.empty? ? '' : '--pkg '+DEPS.join(' --pkg ')} --vapidir=vaedit/vapi --pkg config -o build/vaedit #{SRC.join(' ')}#{CC_OPTS ? ' -X '+CC_OPTS : ''}"
end
task :debug do
sh "valac #{DEPS.empty? ? '' : '--pkg '+DEPS.join(' --pkg ')} -g --save-temps --thread -o build/vaedit_dbg #{SRC.join(' ')}#{CC_OPTS ? ' -X '+CC_OPTS : ''}"
end
Jump to Line
Something went wrong with that request. Please try again.