Skip to content

Commit

Permalink
Add entrypoint build file
Browse files Browse the repository at this point in the history
  • Loading branch information
vpetrenko committed Jul 31, 2013
1 parent eeaa363 commit 325da90
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions build.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#!/usr/bin/ruby

$:[$:.length] = 'listo/'

require 'world'


world = World.new
#World.log.level = Logger::DEBUG
if ARGV[0] == 'msvs2005'
world.explore
world.check
world.build_2005
elsif ARGV[0] == 'msvs2008'
world.explore
world.check
world.build_2008
if ARGV[1] == 'build'
world.build_all_sln
end
elsif ARGV[0] == 'msvs2010'
world.explore
world.check
world.build_2010
elsif ARGV[0] == 'pro'
world.explore
world.check
world.build_pro
else
world.explore
world.check
if is_windows()
world.build_2005
else
world.build_pro
end
end
#world.view_templates
#world.view_projects

0 comments on commit 325da90

Please sign in to comment.