snapshot/lib/snapshot/setup.rb in fastlane-2.74.1 vs snapshot/lib/snapshot/setup.rb in fastlane-2.75.0.beta.20180109010003

- old
+ new

@@ -23,25 +23,25 @@ end # ensure that upgrade is cause when going from 8 to 9 File.write(File.join(path, snapshot_helper_filename), File.read("#{Snapshot::ROOT}/lib/assets/#{snapshot_helper_filename}")) - puts "✅ Successfully created #{snapshot_helper_filename} '#{File.join(path, snapshot_helper_filename)}'".green - puts "✅ Successfully created new Snapfile at '#{snapfile_path}'".green + puts("✅ Successfully created #{snapshot_helper_filename} '#{File.join(path, snapshot_helper_filename)}'".green) + puts("✅ Successfully created new Snapfile at '#{snapfile_path}'".green) - puts "-------------------------------------------------------".yellow - puts "Open your Xcode project and make sure to do the following:".yellow - puts "1) Add a new UI Test target to your project".yellow - puts "2) Add the ./fastlane/#{snapshot_helper_filename} to your UI Test target".yellow - puts " You can move the file anywhere you want".yellow - puts "3) Call `setupSnapshot(app)` when launching your app".yellow - puts "" - puts " let app = XCUIApplication()" - puts " setupSnapshot(app)" - puts " app.launch()" - puts "" - puts "4) Add `snapshot(\"0Launch\")` to wherever you want to create the screenshots".yellow - puts "" - puts "More information: https://docs.fastlane.tools/actions/snapshot/".green + puts("-------------------------------------------------------".yellow) + puts("Open your Xcode project and make sure to do the following:".yellow) + puts("1) Add a new UI Test target to your project".yellow) + puts("2) Add the ./fastlane/#{snapshot_helper_filename} to your UI Test target".yellow) + puts(" You can move the file anywhere you want".yellow) + puts("3) Call `setupSnapshot(app)` when launching your app".yellow) + puts("") + puts(" let app = XCUIApplication()") + puts(" setupSnapshot(app)") + puts(" app.launch()") + puts("") + puts("4) Add `snapshot(\"0Launch\")` to wherever you want to create the screenshots".yellow) + puts("") + puts("More information: https://docs.fastlane.tools/actions/snapshot/".green) end end end