Skip to content

Commit

Permalink
Merge pull request #18 from shilokuma-inc/feat/swiftLint
Browse files Browse the repository at this point in the history
【FEAT】SwiftLintの導入
  • Loading branch information
mrs1669 committed May 14, 2024
2 parents 51cf02d + 9440df9 commit f026650
Show file tree
Hide file tree
Showing 10 changed files with 146 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/archive-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: ci_post_clone
run: |
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES
- name: Set Default Scheme
run: |
scheme_list=$(xcodebuild -list -json | tr -d "\n")
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/archive-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: ci_post_clone
run: |
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES
- name: Set Default Scheme
run: |
scheme_list=$(xcodebuild -list -json | tr -d "\n")
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/archive-working.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: ci_post_clone
run: |
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES
- name: Set Default Scheme
run: |
scheme_list=$(xcodebuild -list -json | tr -d "\n")
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: ci_post_clone
run: |
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES
- name: Set Default Scheme
run: |
scheme_list=$(xcodebuild -list -json | tr -d "\n")
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: ci_post_clone
run: |
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES
- name: Set Default Scheme
run: |
scheme_list=$(xcodebuild -list -json | tr -d "\n")
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-working.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:

- name: Checkout
uses: actions/checkout@v4

- name: ci_post_clone
run: |
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES
- name: Set Default Scheme
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: ci_post_clone
run: |
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES
- name: Set Environment
run: |
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then app_name="`ls -A | grep -i \\.xcworkspace\$`"; else app_name="`ls -A | grep -i \\.xcodeproj\$`"; fi
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: ci_post_clone
run: |
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES
- name: Set Environment
run: |
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then app_name="`ls -A | grep -i \\.xcworkspace\$`"; else app_name="`ls -A | grep -i \\.xcodeproj\$`"; fi
Expand Down
27 changes: 27 additions & 0 deletions IOSTemplateApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
buildRules = (
);
dependencies = (
4F27869F2BF3744F00E9F5EF /* PBXTargetDependency */,
);
name = IOSTemplateApp;
productName = IOSTemplateApp;
Expand Down Expand Up @@ -217,6 +218,9 @@
Base,
);
mainGroup = 4FC9E1E02BF1049B00F630AB;
packageReferences = (
4F27869D2BF373B800E9F5EF /* XCRemoteSwiftPackageReference "SwiftLint" */,
);
productRefGroup = 4FC9E1EA2BF1049B00F630AB /* Products */;
projectDirPath = "";
projectRoot = "";
Expand Down Expand Up @@ -284,6 +288,10 @@
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
4F27869F2BF3744F00E9F5EF /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
productRef = 4F27869E2BF3744F00E9F5EF /* SwiftLintBuildToolPlugin */;
};
4FC9E1FB2BF1049C00F630AB /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 4FC9E1E82BF1049B00F630AB /* IOSTemplateApp */;
Expand Down Expand Up @@ -594,6 +602,25 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
4F27869D2BF373B800E9F5EF /* XCRemoteSwiftPackageReference "SwiftLint" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/realm/SwiftLint";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 0.55.0;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
4F27869E2BF3744F00E9F5EF /* SwiftLintBuildToolPlugin */ = {
isa = XCSwiftPackageProductDependency;
package = 4F27869D2BF373B800E9F5EF /* XCRemoteSwiftPackageReference "SwiftLint" */;
productName = "plugin:SwiftLintBuildToolPlugin";
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 4FC9E1E12BF1049B00F630AB /* Project object */;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"originHash" : "c3373633343d643cf4275c42d63c44d7be89c54076117a694350d515b60c2b83",
"pins" : [
{
"identity" : "collectionconcurrencykit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/JohnSundell/CollectionConcurrencyKit.git",
"state" : {
"revision" : "b4f23e24b5a1bff301efc5e70871083ca029ff95",
"version" : "0.2.0"
}
},
{
"identity" : "cryptoswift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/krzyzanowskim/CryptoSwift.git",
"state" : {
"revision" : "c9c3df6ab812de32bae61fc0cd1bf6d45170ebf0",
"version" : "1.8.2"
}
},
{
"identity" : "sourcekitten",
"kind" : "remoteSourceControl",
"location" : "https://github.com/jpsim/SourceKitten.git",
"state" : {
"revision" : "fd4df99170f5e9d7cf9aa8312aa8506e0e7a44e7",
"version" : "0.35.0"
}
},
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser.git",
"state" : {
"revision" : "46989693916f56d1186bd59ac15124caef896560",
"version" : "1.3.1"
}
},
{
"identity" : "swift-syntax",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-syntax.git",
"state" : {
"revision" : "303e5c5c36d6a558407d364878df131c3546fad8",
"version" : "510.0.2"
}
},
{
"identity" : "swiftlint",
"kind" : "remoteSourceControl",
"location" : "https://github.com/realm/SwiftLint",
"state" : {
"revision" : "460d88c036163ee2f7cb5e32c180d9143ac332ae",
"version" : "0.55.0"
}
},
{
"identity" : "swiftytexttable",
"kind" : "remoteSourceControl",
"location" : "https://github.com/scottrhoyt/SwiftyTextTable.git",
"state" : {
"revision" : "c6df6cf533d120716bff38f8ff9885e1ce2a4ac3",
"version" : "0.9.0"
}
},
{
"identity" : "swxmlhash",
"kind" : "remoteSourceControl",
"location" : "https://github.com/drmohundro/SWXMLHash.git",
"state" : {
"revision" : "a853604c9e9a83ad9954c7e3d2a565273982471f",
"version" : "7.0.2"
}
},
{
"identity" : "yams",
"kind" : "remoteSourceControl",
"location" : "https://github.com/jpsim/Yams.git",
"state" : {
"revision" : "9234124cff5e22e178988c18d8b95a8ae8007f76",
"version" : "5.1.2"
}
}
],
"version" : 3
}

0 comments on commit f026650

Please sign in to comment.