mirror of
https://github.com/gosticks/SwiftGit2.git
synced 2025-10-16 11:55:34 +00:00
Merge origin/master into lower-case-enum-cases
This commit is contained in:
commit
6257318a34
@ -3,6 +3,7 @@ disabled_rules:
|
||||
- force_cast
|
||||
- force_try
|
||||
- function_body_length
|
||||
- identifier_name
|
||||
- type_body_length
|
||||
|
||||
opt_in_rules:
|
||||
@ -12,7 +13,9 @@ opt_in_rules:
|
||||
- conditional_returns_on_newline
|
||||
- empty_count
|
||||
- explicit_init
|
||||
- fatal_error_message
|
||||
- first_where
|
||||
- implicitly_unwrapped_optional
|
||||
- overridden_super_call
|
||||
- private_outlet
|
||||
- prohibited_super_call
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
language: objective-c
|
||||
|
||||
osx_image: xcode8.2
|
||||
osx_image: xcode8.3
|
||||
|
||||
sudo: false # Enable container-based builds
|
||||
|
||||
|
||||
@ -729,7 +729,7 @@
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint is not installed\"\nfi";
|
||||
shellScript = "if which swiftlint >/dev/null; then\n swiftlint --lenient\nelse\n echo \"warning: SwiftLint is not installed\"\nfi";
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
@ -1180,6 +1180,7 @@
|
||||
C9CE0DD51E0710BD0053205D /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
|
||||
@ -15,7 +15,7 @@ public typealias CheckoutProgressBlock = (String?, Int, Int) -> Void
|
||||
/// Helper function used as the libgit2 progress callback in git_checkout_options.
|
||||
/// This is a function with a type signature of git_checkout_progress_cb.
|
||||
private func checkoutProgressCallback(path: UnsafePointer<Int8>?, completedSteps: Int, totalSteps: Int,
|
||||
payload: UnsafeMutableRawPointer?) -> Void {
|
||||
payload: UnsafeMutableRawPointer?) {
|
||||
if let payload = payload {
|
||||
let buffer = payload.assumingMemoryBound(to: CheckoutProgressBlock.self)
|
||||
let block: CheckoutProgressBlock
|
||||
|
||||
Loading…
Reference in New Issue
Block a user