Skip to content

Commit

Permalink
Merge branch 'release/0.8.3' into versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeehut committed Oct 13, 2021
2 parents 73cb2c9 + ef44dce commit d806708
Show file tree
Hide file tree
Showing 9 changed files with 68 additions and 41 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ jobs:
- name: Run tests
run: swift test -v


test-macos:
runs-on: macos-latest

Expand Down
58 changes: 51 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,53 @@
# General
.DS_Store
/.build
/Packages
/*.xcodeproj
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Xcode
## User settings
xcuserdata/
/AnyLintTempTests
.codacy-coverage
*.lcov
codacy-coverage.json

## Obj-C/Swift specific
*.hmap

## App packaging
*.ipa
*.dSYM.zip
*.dSYM

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
Packages/
Package.pins
Package.resolved
*.xcodeproj
.swiftpm
.build/

# AnyLint specific
anylint-test-results.json
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ If needed, pluralize to `Tasks`, `PRs` or `Authors` and list multiple entries se
### Security
- None.

## [0.8.3] - 2021-10-13
### Changed
- Bumped minimum required Swift tools version to 5.4.
Author: [Cihat Gündüz](https://github.com/Jeehut)
- Removed `Package.resolved` file to prevent pinning dependency versions.
Author: [Cihat Gündüz](https://github.com/Jeehut)

## [0.8.2] - 2020-06-09
### Changed
- Made internal extension methos public for usage in `customCheck`.
Expand Down
2 changes: 1 addition & 1 deletion Formula/anylint.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class Anylint < Formula
desc "Lint anything by combining the power of Swift & regular expressions"
homepage "https://github.com/Flinesoft/AnyLint"
url "https://github.com/Flinesoft/AnyLint.git", :tag => "0.8.1", :revision => "fcc0975f934235bf0fbee196c01cd44fbc2c1fd4"
url "https://github.com/Flinesoft/AnyLint.git", :tag => "0.8.2", :revision => "73cb2c9de3ed8e027fddf8df16e998c552dd7823"
head "https://github.com/Flinesoft/AnyLint.git"

depends_on :xcode => ["11.4", :build]
Expand Down
25 changes: 0 additions & 25 deletions Package.resolved

This file was deleted.

4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.1
// swift-tools-version:5.4
import PackageDescription

let package = Package(
Expand All @@ -20,7 +20,7 @@ let package = Package(
name: "AnyLintTests",
dependencies: ["AnyLint"]
),
.target(
.executableTarget(
name: "AnyLintCLI",
dependencies: ["Rainbow", "SwiftCLI", "Utility"]
),
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
alt="Coverage"/>
</a>
<a href="https://github.com/Flinesoft/AnyLint/releases">
<img src="https://img.shields.io/badge/Version-0.8.2-blue.svg"
alt="Version: 0.8.2">
<img src="https://img.shields.io/badge/Version-0.8.3-blue.svg"
alt="Version: 0.8.3">
</a>
<a href="https://github.com/Flinesoft/AnyLint/blob/main/LICENSE">
<img src="https://img.shields.io/badge/License-MIT-lightgrey.svg"
Expand Down
2 changes: 1 addition & 1 deletion Sources/Utility/Constants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public var log = Logger(outputType: .console)
/// Constants to reference across the project.
public enum Constants {
/// The current tool version string. Conforms to SemVer 2.0.
public static let currentVersion: String = "0.8.2"
public static let currentVersion: String = "0.8.3"

/// The name of this tool.
public static let toolName: String = "AnyLint"
Expand Down
6 changes: 4 additions & 2 deletions Tests/LinuxMain.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ extension ArrayExtTests {

extension AutoCorrectionTests {
static var allTests: [(String, (AutoCorrectionTests) -> () throws -> Void)] = [
("testInitWithDictionaryLiteral", testInitWithDictionaryLiteral)
("testInitWithDictionaryLiteral", testInitWithDictionaryLiteral),
("testAppliedMessageLines", testAppliedMessageLines)
]
}

Expand All @@ -30,7 +31,8 @@ extension FileContentsCheckerTests {
("testPerformCheck", testPerformCheck),
("testSkipInFile", testSkipInFile),
("testSkipHere", testSkipHere),
("testSkipIfEqualsToAutocorrectReplacement", testSkipIfEqualsToAutocorrectReplacement)
("testSkipIfEqualsToAutocorrectReplacement", testSkipIfEqualsToAutocorrectReplacement),
("testRepeatIfAutoCorrected", testRepeatIfAutoCorrected)
]
}

Expand Down

0 comments on commit d806708

Please sign in to comment.