From 3abb3367bcd00933eebd88593b0d0fcb87b488db Mon Sep 17 00:00:00 2001 From: Julian Caicedo Date: Fri, 13 Apr 2018 12:23:48 +0200 Subject: [PATCH 1/2] Specify screenshot files only, not whole folder The whole screenshots folder shouldn't be ignore since there could be frameit configuration in it (Framefile.json, fonts, background.jpg, *.strings, etc...). It'd be better to just ignore the generated PNG screenshots. --- Swift.gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Swift.gitignore b/Swift.gitignore index 161179bf..0df134f4 100644 --- a/Swift.gitignore +++ b/Swift.gitignore @@ -64,5 +64,5 @@ Carthage/Build fastlane/report.xml fastlane/Preview.html -fastlane/screenshots +fastlane/screenshots/*/*.png fastlane/test_output From a9f6d9944e0a313549b9c415ef9e797e05dc9340 Mon Sep 17 00:00:00 2001 From: Julian Caicedo Date: Sun, 15 Apr 2018 15:34:51 +0200 Subject: [PATCH 2/2] Double asterisk in path --- Swift.gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Swift.gitignore b/Swift.gitignore index 0df134f4..312d1f65 100644 --- a/Swift.gitignore +++ b/Swift.gitignore @@ -64,5 +64,5 @@ Carthage/Build fastlane/report.xml fastlane/Preview.html -fastlane/screenshots/*/*.png +fastlane/screenshots/**/*.png fastlane/test_output