-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add swiftlint / swiftformat in Package.swift, fix issues (#168)
- Add swiftlint / swiftformat in Package.swift and invoke with `swift run` - Fix lint issues - Format codebase - Update Makefile and scripts to use `swift run swiftlint` and `swift run swiftformat` - Define swiftformat settings to .swiftformat file - Update lint script to check for formatting errors
- Loading branch information
1 parent
7d4ceb6
commit 1d44870
Showing
44 changed files
with
1,075 additions
and
998 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--swiftversion 4.2 | ||
--disable andOperator | ||
|
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 |
---|---|---|
|
@@ -3,4 +3,3 @@ import PackageDescription | |
let package = Package( | ||
name: "Objective_C" | ||
) | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import XCTest | ||
@testable import ObjcTestSuite | ||
import XCTest | ||
XCTMain([ | ||
testCase(ObjcTestSuite.allTests), | ||
]) |
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
Oops, something went wrong.