Fix carthage test so that it builds from HEAD.

This commit is contained in:
Scott Hoyt
2017-01-01 20:56:56 -08:00
parent e58083541b
commit cb7d8f17cb
+1 -1
View File
@@ -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