Skip to content

[WIP] add Swiftlint by SwiftPM

Naoki edited this page Oct 17, 2022 · 6 revisions

暫定対応 (Cocoa pods)

  • podでSwiftLintの追加
  • ビルド時のスクリプトを追加
if which "${PODS_ROOT}/SwiftLint/swiftlint" >/dev/null; then
    ${PODS_ROOT}/SwiftLint/swiftlint
else
    echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi

Procedure

Reference

Clone this wiki locally