Adding 'bundle install' to CI build

This commit is contained in:
David Tchepak 2012-12-24 16:02:05 +11:00
Родитель 8b34bc510c
Коммит 75a5a4d175
1 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@ -4,7 +4,7 @@ task :all => [:compile, :test, :specs]
desc "Update assembly versions, build, generate docs and create directory for packaging"
task :deploy => [:version_assemblies, :default, :package, :nuget, :zip, :zip_docs, :zip_website]
task :automated_deploy => [:get_build_number] do
task :automated_deploy => [:checkBundle, :get_build_number] do
puts "##teamcity[buildNumber '#{@@build_number}']"
puts "Building version v" + @@build_number
@ -15,4 +15,9 @@ task :automated_deploy => [:get_build_number] do
sh "git.exe fetch --tags"
Rake::Task["deploy"].invoke
end
end
task :checkBundle do
sh "bundle install"
end