-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #200 from aiKrice/master
Updates Swiftlint to 0.55.1
- Loading branch information
Showing
4 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## How to Upgrade Swiftlint | ||
|
||
### Step 1: Find the hash of the new swiftlint binary | ||
Go on the Swiftlint repo, download the latest archive and unzip it | ||
On macos: execute a md5 against the `swiftint` binary | ||
On linux: execute a md5sum against the `swiftint` binary | ||
Save the hash | ||
|
||
### Step 1: Clone this repository | ||
|
||
### Step 2: Execute the rakefile | ||
To fetch the latest hash version, you need to execute the rakefile in this folder | ||
|
||
```bash | ||
bundle install && rake | ||
|
||
``` | ||
|
||
The hash is printed in the terminal (`-dh` value) | ||
|
||
### Step 3: Open the PR | ||
If you don't have errors on step 3, then you can open a PR by editing the file | ||
`/lib/version.rb` and changing : | ||
- SWIFTLINT_VERSION=${target_swiftlint_version} | ||
- SWIFTLINT_HASH=${md5_hash} | ||
|
||
Thank you for your contributions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters