Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Initial commit from NewFrameworkTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeehut committed Feb 14, 2019
0 parents commit ab19f38
Show file tree
Hide file tree
Showing 34 changed files with 2,918 additions and 0 deletions.
67 changes: 67 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# 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
.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
Carthage/Cachefile

# 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
fastlane/test_output
84 changes: 84 additions & 0 deletions .projlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
shared_variables:
rightholder: Flinesoft
project_name: NewFrameworkTemplate

rules:
- xcode_build_phases:
project_path: <:project_name:>.xcodeproj
target_name: <:project_name:> iOS
run_scripts:
SwiftLint: |
if [ "${CONFIGURATION}" = "Debug" ]; then
if which swiftlint > /dev/null; then
swiftlint --quiet
else
echo "warning: SwiftLint not installed, download it from https://github.com/realm/SwiftLint"
fi
fi
ProjLint: |
if [ "${CONFIGURATION}" = "Debug" ]; then
if which projlint > /dev/null; then
projlint lint --xcode --timeout 2 --ignore-network-errors
else
echo "warning: ProjLint not installed, download it from https://github.com/JamitLabs/ProjLint"
fi
fi
- xcode_project_navigator:
project_path: <:project_name:>.xcodeproj
sorted:
- Frameworks/<:project_name:>
- Frameworks/SupportingFiles
- Tests/<:project_name:>Tests
- Tests/SupportingFiles
inner_group_order:
- assets
- entitlements
- plists
- strings
- others
- [code_files, interfaces]
- folders
structure:
- Frameworks:
- <:project_name:>
- SupportingFiles:
- Info.plist
- Tests:
- <:project_name:>Tests
- SupportingFiles:
- Info.plist
- RootFiles:
- beak.swift
- .projlint.yml
- .swiftlint.yml
- Package.swift
- Products
- file_content_template:
matching:
.swiftlint.yml:
template_url: "https://raw.githubusercontent.com/JamitLabs/ProjLintTemplates/master/Framework/SwiftLint.stencil"
parameters:
rightholder: <:rightholder:>
.projlint.yml:
template_url: "https://raw.githubusercontent.com/JamitLabs/ProjLintTemplates/master/Framework/ProjLint.stencil"
parameters:
rightholder: <:rightholder:>
project_name: <:project_name:>
- file_existence:
existing_paths:
- .gitignore
- .swiftlint.yml
- .sourcery/LinuxMain.stencil
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- CHANGELOG.md
- LICENSE
- README.md
- <:project_name:>.podspec
- Package.swift
- beak.swift
- <:project_name:>.xcodeproj/xcshareddata/IDETemplateMacros.plist
- Frameworks/SupportingFiles/Info.plist
- Tests/SupportingFiles/Info.plist
Loading

0 comments on commit ab19f38

Please sign in to comment.