Skip to content

Commit

Permalink
修复Xcode Cloud脚本权限问题 (#270)
Browse files Browse the repository at this point in the history
* ci(SwiftLint): Added script for Xcode Cloud

* ci(Canary WhatToTest): Fixed permission issue
  • Loading branch information
WindowsMEMZ authored Feb 23, 2024
1 parent 33c0143 commit a6cf323
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DarockBili.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@
8CA7CCD92B77B55F008E587F /* LiveDetailView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LiveDetailView.swift; sourceTree = "<group>"; };
8CA7CCDB2B77B571008E587F /* LiveMessagesView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LiveMessagesView.swift; sourceTree = "<group>"; };
8CB0D0232B88CEC40057EF1C /* ci_post_xcodebuild.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = ci_post_xcodebuild.sh; sourceTree = "<group>"; };
8CB0D0242B88D20F0057EF1C /* ci_pre_xcodebuild.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = ci_pre_xcodebuild.sh; sourceTree = "<group>"; };
8CBFF1272B86188D00350E0F /* .swiftlint.yml */ = {isa = PBXFileReference; lastKnownFileType = text.yaml; path = .swiftlint.yml; sourceTree = "<group>"; };
8CC3D5572B7CA209005636DC /* UserDynamicListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserDynamicListView.swift; sourceTree = "<group>"; };
8CC3D5592B7CB95D005636DC /* NowPlayingExtension.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NowPlayingExtension.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -751,6 +752,7 @@
isa = PBXGroup;
children = (
8CB0D0232B88CEC40057EF1C /* ci_post_xcodebuild.sh */,
8CB0D0242B88D20F0057EF1C /* ci_pre_xcodebuild.sh */,
);
path = ci_scripts;
sourceTree = "<group>";
Expand Down
Empty file modified ci_scripts/ci_post_xcodebuild.sh
100644 → 100755
Empty file.
3 changes: 3 additions & 0 deletions ci_scripts/ci_pre_xcodebuild.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/zsh

brew install swiftlint

0 comments on commit a6cf323

Please sign in to comment.