Adding 'bundle install' to CI build
This commit is contained in:
Родитель
8b34bc510c
Коммит
75a5a4d175
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче