-
Notifications
You must be signed in to change notification settings - Fork 64
build
Henrik edited this page Aug 21, 2014
·
10 revisions
require 'albacore'
build :compile_this do |b|
b.file = Paths.join 'src', 'MyProj.fsproj' # the file that you want to build
# b.sln = Paths.join 'src', 'MyProj.sln' # alt. name
b.target = ['Clean', 'Rebuild'] # call with an array of targets or just a single target
b.prop 'Configuration', 'Release' # call with 'key, value', to specify a MsBuild property
b.cores = 4 # no of cores to build with, defaults to the number of cores on your machine
b.clp 'ShowEventId' # any parameters you want to pass to the console logger of MsBuild
b.logging = 'verbose' # verbose logging mode
# b.be_quiet # opposite of the above
b.no_logo # no Microsoft/XBuild header output
end