A script to be run from Xcode to lint files as you make changes
Project description
Selective (Swift) Linter
This is a package to be used to lint changes in .swift files using Swiftlint Installed via Homebrew. It's meant to be used as a run script in Xcode.
Installation and Dependencies
To install swiftlint from the terminal use Homebrew:
$ brew install swiftlint
To install this Python3 package
$ pip3 install selective_linter
To install this into an Xcode project, add the following run script build phase in project settings:
Shell: /usr/bin/env bash
if [ "${CONFIGURATION}" == "Debug" ]; then
if which selective_linter >/dev/null; then
selective_linter
fi
fi
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file selective_linter-1.0.1.tar.gz
.
File metadata
- Download URL: selective_linter-1.0.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0b4248525598bca88d8230ebf489cb49eb1a1bcd80a67fda9ef9021eb8a8365 |
|
MD5 | df899b4051dd361341dfffa1f0dcaca3 |
|
BLAKE2b-256 | f1e2320d4efe782fc7c52908b6758a361e76713947100b929bfed97d07931843 |
File details
Details for the file selective_linter-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: selective_linter-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11318789fc2d59066e80556f2c7ab291d9b078da3ad846b4a14125c4653e36f9 |
|
MD5 | b6a7aed0ee058cc8a96f153e568f11bb |
|
BLAKE2b-256 | 6ce1f7155bfe1ccf40372e878549b29b242bf249c614515adc0343c30daa6d5c |