Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

[1.0.0] SwiftLint 적용 #8

Merged
merged 2 commits into from
Sep 5, 2022
Merged

[1.0.0] SwiftLint 적용 #8

merged 2 commits into from
Sep 5, 2022

Conversation

x-0o0
Copy link
Contributor

@x-0o0 x-0o0 commented Jun 11, 2022

Homebrew 를 통한 SwiftLint 설치

  1. 터미널 열기
  2. kuring-lite-ios 폴더로 이동
  3. 터미널에 설치 명령어 실행
$ brew install swiftlint
  1. 루트폴더에 EmptyFile 생성 후 .swiftlint.yml로 명명
  2. 프로젝트 Build Phase에 Run script 추가
export PATH="$PATH:/opt/homebrew/bin" # m1 을 위한 코드라인
if which swiftlint > /dev/null; then
  swiftlint --fix # --fix는 자동 수정 옵션
else
  echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi
  1. Run Script 순서를 Compile Source 앞으로 가져오기

@x-0o0 x-0o0 requested a review from lgvv June 11, 2022 13:06
@x-0o0 x-0o0 self-assigned this Jun 11, 2022
Copy link
Member

@lgvv lgvv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✨ SSIA ( Subject Says It All )

@x-0o0 x-0o0 merged commit 0ec9aec into main Sep 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants