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 | xargs -0 echo
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.0.tar.gz
.
File metadata
- Download URL: selective_linter-1.0.0.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 | 3eb1018fa45b387307ec504980e5d8fb78d5e79d394877e5a46768af9c3271be |
|
MD5 | 3c5ec82e8fa21c80007eb9694903c1d7 |
|
BLAKE2b-256 | 3cdd5b89f1985d287bf61c63c629233e31cf06b37e53538d814fb0b10f2b2be2 |
File details
Details for the file selective_linter-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: selective_linter-1.0.0-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 | 40baf447e41775a1307b4831228f3443cb804e6413d5e0204323feae6bd26df6 |
|
MD5 | e1c9f2502166550d76689065637acea3 |
|
BLAKE2b-256 | a032e622b8e2bb3c6c19a682d257947ad68d350a44905e61ff083783c4e4551e |