-
Notifications
You must be signed in to change notification settings - Fork 4
/
rakefile.rb
31 lines (25 loc) · 1 KB
/
rakefile.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
begin
require 'bundler/setup'
require 'fuburake'
rescue LoadError
puts 'Bundler and all the gems need to be installed prior to running this rake script. Installing...'
system("gem install bundler --source http://rubygems.org")
sh 'bundle install'
system("bundle exec rake", *ARGV)
exit 0
end
@solution = FubuRake::Solution.new do |sln|
sln.compile = {
:solutionfile => 'src/FubuWorld.sln'
}
sln.assembly_info = {
:product_name => "FubuWorld",
:copyright => 'Copyright 2008-2013 Jeremy D. Miller, Joshua Arnold, et al. All rights reserved.'
}
sln.ripple_enabled = true
sln.fubudocs_enabled = true
sln.assembly_bottle 'FubuWorld'
# TODO -- add this later: , :include_in_ci => true
sln.export_docs({:repository => '[email protected]:DarthFubuMVC/FubuRelease.git', :host => 'src/FubuWorld', :prefix => 'website'})
sln.export_docs({:repository => '[email protected]:DarthFubuMVC/darthfubumvc.github.io.git', :host => 'src/FubuWorld', :branch => 'master'})
end