Skip to content

Commit 1dd81ff

Browse files
authored
[NONE] : Swift-format 변경 (#10)
* [NONE] : Swift-format 변경 - .gitignore 에 DS_Store 추가 * [NONE] : DS_Store 추가 * [NONE] : gitignore 수정 - tuist 관련 파일 수정
1 parent f0d6e02 commit 1dd81ff

File tree

2 files changed

+60
-65
lines changed

2 files changed

+60
-65
lines changed

.github/workflows/format.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,6 @@ jobs:
3636
path: ~/.build_swift_format
3737
key: swift-format-${{ runner.os }}-${{ hashFiles('**/Package.resolved') }}
3838

39-
- name: Setup swift-format
40-
run: |
41-
if [ ! -f ~/.build_swift_format/swift-format ]; then
42-
git clone https://github.com/apple/swift-format.git
43-
cd swift-format
44-
swift build -c release --disable-sandbox
45-
mkdir -p ~/.build_swift_format
46-
cp .build/release/swift-format ~/.build_swift_format/swift-format
47-
cd ..
48-
fi
49-
50-
sudo cp ~/.build_swift_format/swift-format /usr/local/bin/swift-format
51-
swift-format --version || echo "swift-format installed"
52-
5339
# swift-format 실행
5440
# .swift 파일에 대해서만 실행
5541
- name: Run swift-format
@@ -63,4 +49,4 @@ jobs:
6349
- uses: stefanzweifel/git-auto-commit-action@v5
6450
with:
6551
commit_message: '[Auto] Run swift-format'
66-
branch: 'main'
52+
branch: 'develop'

.gitignore

Lines changed: 59 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,80 @@
1-
### macOS ###
2-
# General
3-
.DS_Store
4-
.AppleDouble
5-
.LSOverride
1+
# Xcode
2+
#
3+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
64

7-
# Icon must end with two
8-
Icon
5+
## User settings
6+
xcuserdata/
97

10-
# Thumbnails
11-
._*
8+
## Obj-C/Swift specific
9+
*.hmap
1210

13-
# Files that might appear in the root of a volume
14-
.DocumentRevisions-V100
15-
.fseventsd
16-
.Spotlight-V100
17-
.TemporaryItems
18-
.Trashes
19-
.VolumeIcon.icns
20-
.com.apple.timemachine.donotpresent
11+
## App packaging
12+
*.ipa
13+
*.dSYM.zip
14+
*.dSYM
2115

22-
# Directories potentially created on remote AFP share
23-
.AppleDB
24-
.AppleDesktop
25-
Network Trash Folder
26-
Temporary Items
27-
.apdisk
16+
## Playgrounds
17+
timeline.xctimeline
18+
playground.xcworkspace
2819

29-
### Xcode ###
30-
# Xcode
20+
# Swift Package Manager
3121
#
32-
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
22+
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
23+
# Packages/
24+
# Package.pins
25+
# Package.resolved
26+
# *.xcodeproj
27+
#
28+
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
29+
# hence it is not needed unless you have added a package configuration file to your project
30+
# .swiftpm
3331

34-
## User settings
35-
xcuserdata/
32+
.build/
3633

37-
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
38-
*.xcscmblueprint
39-
*.xccheckout
34+
# CocoaPods
35+
#
36+
# We recommend against adding the Pods directory to your .gitignore. However
37+
# you should judge for yourself, the pros and cons are mentioned at:
38+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
39+
#
40+
# Pods/
41+
#
42+
# Add this line if you want to avoid checking in source code from the Xcode workspace
43+
# *.xcworkspace
4044

41-
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
42-
build/
43-
DerivedData/
44-
*.moved-aside
45-
*.pbxuser
46-
!default.pbxuser
47-
*.mode1v3
48-
!default.mode1v3
49-
*.mode2v3
50-
!default.mode2v3
51-
*.perspectivev3
52-
!default.perspectivev3
45+
# Carthage
46+
#
47+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
48+
# Carthage/Checkouts
5349

54-
### Xcode Patch ###
55-
*.xcodeproj/*
56-
!*.xcodeproj/project.pbxproj
57-
!*.xcodeproj/xcshareddata/
58-
!*.xcworkspace/contents.xcworkspacedata
59-
/*.gcno
50+
Carthage/Build/
6051

6152
### Projects ###
6253
*.xcodeproj
6354
*.xcworkspace
6455

56+
# fastlane
57+
#
58+
# It is recommended to not store the screenshots in the git repo.
59+
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
60+
# For more information about the recommended setup visit:
61+
# https://docs.fastlane.tools/best-practices/source-control/#source-control
62+
63+
fastlane/report.xml
64+
fastlane/Preview.html
65+
fastlane/screenshots/**/*.png
66+
fastlane/test_output
67+
6568
### Tuist derived files ###
6669
graph.dot
6770
Derived/
6871

6972
### Tuist managed dependencies ###
7073
Tuist/.build
71-
/.build
74+
/.build
75+
76+
# DS_Store
77+
.DS_Store
78+
._.DS_Store
79+
**/.DS_Store
80+
**/._.DS_Store

0 commit comments

Comments
 (0)