aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrendan Forster <github@brendanforster.com>2018-06-18 06:57:10 -0300
committerBrendan Forster <github@brendanforster.com>2018-06-18 06:57:10 -0300
commit22a63953fbd16e8d538b59f0ecaf2294ff899526 (patch)
treeed2a2e12679fd41ef9eeb425342a3a526dd35d94
parent3fe5f882ec934f95127a70ab313ad7377aae3035 (diff)
downloadgitignore-22a63953fbd16e8d538b59f0ecaf2294ff899526.tar.gz
gitignore-22a63953fbd16e8d538b59f0ecaf2294ff899526.zip
add metadata to unify the XCode/ObjC/Swift templates
-rw-r--r--Global/Xcode.gitignore4
-rw-r--r--Global/Xcode.yml3
-rw-r--r--Objective-C.gitignore63
-rw-r--r--Swift.gitignore68
4 files changed, 3 insertions, 135 deletions
diff --git a/Global/Xcode.gitignore b/Global/Xcode.gitignore
index cd0c7d3e..b805012e 100644
--- a/Global/Xcode.gitignore
+++ b/Global/Xcode.gitignore
@@ -1,7 +1,3 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
## User settings
xcuserdata/
diff --git a/Global/Xcode.yml b/Global/Xcode.yml
new file mode 100644
index 00000000..66c67e55
--- /dev/null
+++ b/Global/Xcode.yml
@@ -0,0 +1,3 @@
+aliases:
+ - Objective-C
+ - Swift
diff --git a/Objective-C.gitignore b/Objective-C.gitignore
deleted file mode 100644
index 86de6aa3..00000000
--- a/Objective-C.gitignore
+++ /dev/null
@@ -1,63 +0,0 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
-## Build generated
-build/
-DerivedData/
-
-## Various settings
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata/
-
-## Other
-*.moved-aside
-*.xccheckout
-*.xcscmblueprint
-
-## Obj-C/Swift specific
-*.hmap
-*.ipa
-*.dSYM.zip
-*.dSYM
-
-# CocoaPods
-#
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
-#
-# Pods/
-
-# Carthage
-#
-# Add this line if you want to avoid checking in source code from Carthage dependencies.
-# Carthage/Checkouts
-
-Carthage/Build
-
-# fastlane
-#
-# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
-# screenshots whenever they are needed.
-# For more information about the recommended setup visit:
-# https://docs.fastlane.tools/best-practices/source-control/#source-control
-
-fastlane/report.xml
-fastlane/Preview.html
-fastlane/screenshots/**/*.png
-fastlane/test_output
-
-# Code Injection
-#
-# After new code Injection tools there's a generated folder /iOSInjectionProject
-# https://github.com/johnno1962/injectionforxcode
-
-iOSInjectionProject/
diff --git a/Swift.gitignore b/Swift.gitignore
deleted file mode 100644
index 312d1f65..00000000
--- a/Swift.gitignore
+++ /dev/null
@@ -1,68 +0,0 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
-## Build generated
-build/
-DerivedData/
-
-## Various settings
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata/
-
-## Other
-*.moved-aside
-*.xccheckout
-*.xcscmblueprint
-
-## Obj-C/Swift specific
-*.hmap
-*.ipa
-*.dSYM.zip
-*.dSYM
-
-## Playgrounds
-timeline.xctimeline
-playground.xcworkspace
-
-# Swift Package Manager
-#
-# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
-# Packages/
-# Package.pins
-# Package.resolved
-.build/
-
-# CocoaPods
-#
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
-#
-# Pods/
-
-# Carthage
-#
-# Add this line if you want to avoid checking in source code from Carthage dependencies.
-# Carthage/Checkouts
-
-Carthage/Build
-
-# fastlane
-#
-# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
-# screenshots whenever they are needed.
-# For more information about the recommended setup visit:
-# https://docs.fastlane.tools/best-practices/source-control/#source-control
-
-fastlane/report.xml
-fastlane/Preview.html
-fastlane/screenshots/**/*.png
-fastlane/test_output