Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
1,472 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
disabled_rules: # rule identifiers to exclude from running | ||
- function_body_length | ||
- leading_whitespace | ||
- line_length | ||
- return_arrow_whitespace | ||
- trailing_newline | ||
- trailing_whitespace | ||
- type_name | ||
- valid_docs | ||
- variable_name | ||
- nesting | ||
- file_length | ||
|
||
# Find all the available rules by running: | ||
# swiftlint rules | ||
included: # paths to include during linting. `--path` is ignored if present. | ||
# - Source | ||
excluded: # paths to ignore during linting. Takes precedence over `included`. | ||
- Carthage | ||
- Pods | ||
- Source/ExcludedFolder | ||
- Source/ExcludedFile.swift | ||
# parameterized rules can be customized from this configuration file | ||
# line_length: 110 | ||
# parameterized rules are first parameterized as a warning level, then error level. | ||
type_body_length: | ||
- 300 # warning | ||
- 400 # error | ||
cyclomatic_complexity: | ||
- 10 # warning | ||
- 30 # error | ||
reporter: "xcode" # reporter type (xcode, json, csv, checkstyle) |
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,10 @@ | ||
task :make do | ||
system("xcodebuild | xcpretty -c") | ||
end | ||
task :install do | ||
system("mv ./build/Release/snapdiff /usr/local/bin/snapdiff") | ||
end | ||
|
||
task :test do | ||
system("xcodebuild test -scheme snapdiff_tests | xcpretty -c") | ||
end |
Oops, something went wrong.