mirror of
https://github.com/Moya/Moya.git
synced 2026-03-18 19:52:28 +00:00
Fix carthage test so that it builds from HEAD.
This commit is contained in:
@@ -139,7 +139,7 @@ namespace :test do
|
||||
# of the root dir
|
||||
|
||||
Dir.mkdir("carthage_test")
|
||||
File.write(File.join("carthage_test", "Cartfile"), "git \"file://#{Dir.pwd}\"")
|
||||
File.write(File.join("carthage_test", "Cartfile"), "git \"file://#{Dir.pwd}\" \"HEAD\"")
|
||||
Dir.chdir "carthage_test" do
|
||||
sh "carthage bootstrap --platform 'iOS'"
|
||||
has_artifacts = Dir.glob("Carthage/Build/*").count > 0
|
||||
|
||||
Reference in New Issue
Block a user