Skip to content

Commit 45cfbb4

Browse files
authored
Merge branch 'master' into controller-connectables
2 parents 3d20834 + 8bc883f commit 45cfbb4

File tree

176 files changed

+1907
-7808
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

176 files changed

+1907
-7808
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,36 +10,19 @@ on:
1010

1111
jobs:
1212
build:
13-
runs-on: macOS-latest
14-
steps:
15-
- uses: actions/checkout@v2
16-
- uses: actions/cache@v1
17-
with:
18-
path: Carthage
19-
key: ${{ runner.os }}-carthage-${{ hashFiles('Cartfile.resolved') }}
20-
restore-keys: |
21-
${{ runner.os }}-carthage-
22-
- name: Build and Test
23-
run: Tools/ci-xcode.sh
24-
env:
25-
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
26-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
27-
28-
spm:
2913
runs-on: macOS-latest
3014
steps:
3115
- uses: actions/checkout@v2
3216
- name: Build and Test
3317
run: Tools/ci-spm.sh
3418
env:
35-
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
3619
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3720

3821
swiftlint:
3922
runs-on: ubuntu-latest
4023
steps:
4124
- uses: actions/checkout@v2
4225
- name: GitHub Action for SwiftLint
43-
uses: norio-nomura/action-swiftlint@3.0.1
26+
uses: norio-nomura/action-swiftlint@3.2.1
4427
with:
4528
args: lint --no-cache --strict

.swiftformat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
--exponentcase lowercase
1010
--exponentgrouping disabled
1111
--fractiongrouping enabled
12-
--header "// Copyright (c) 2019 Spotify AB.\n//\n// Licensed to the Apache Software Foundation (ASF) under one\n// or more contributor license agreements. See the NOTICE file\n// distributed with this work for additional information\n// regarding copyright ownership. The ASF licenses this file\n// to you under the Apache License, Version 2.0 (the\n// \"License\"); you may not use this file except in compliance\n// with the License. You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing,\n// software distributed under the License is distributed on an\n// \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n// KIND, either express or implied. See the License for the\n// specific language governing permissions and limitations\n// under the License."
12+
--header "// Copyright Spotify AB.\n// SPDX-License-Identifier: Apache-2.0"
1313
--hexgrouping none
1414
--hexliteralcase lowercase
1515
--ifdef noindent
@@ -34,4 +34,4 @@
3434
--symlinks ignore
3535

3636
# Excluded directories
37-
--exclude Carthage
37+
--exclude Carthage,MobiusTest/Source/SimpleDiff.swift,Templates

.swiftlint.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ disabled_rules:
55
- superfluous_disable_command # Disabled since we disable some rules pre-emptively to avoid issues in the future
66
- todo # Disabled while we are filling out the framework; re-enable when we get closer to completion
77
- nesting # Does not make sense anymore since Swift 4 uses nested `CodingKeys` enums for example
8-
98
- implicit_return # Suddenly started firing for existing code on PRs, should investigate later
109

1110
opt_in_rules:
12-
- anyobject_protocol
1311
- attributes
1412
- closure_end_indentation
1513
- closure_spacing
@@ -29,7 +27,6 @@ opt_in_rules:
2927
- first_where
3028
- identical_operands
3129
- implicit_return
32-
- inert_defer
3330
- joined_default_parameter
3431
- literal_expression_end_indentation
3532
- legacy_hashing
@@ -55,6 +52,7 @@ opt_in_rules:
5552
- trailing_whitespace
5653
- unneeded_parentheses_in_closure_argument
5754
- vertical_parameter_alignment_on_call
55+
- weak_delegate
5856
- yoda_condition
5957

6058
excluded:
@@ -71,8 +69,8 @@ attributes:
7169
- "@NSManaged"
7270
- "@objc"
7371
closure_spacing: warning
74-
empty_count: warning
75-
explicit_init: warning
72+
empty_count:
73+
severity: warning
7674
fatal_error_message: warning
7775
file_header:
7876
severity: warning

Cartfile

Lines changed: 0 additions & 1 deletion
This file was deleted.

Cartfile.private

Lines changed: 0 additions & 2 deletions
This file was deleted.

Cartfile.resolved

Lines changed: 0 additions & 3 deletions
This file was deleted.

Carthage/Checkouts/xcconfigs/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

Carthage/Checkouts/xcconfigs/Base/Common.xcconfig

Lines changed: 0 additions & 245 deletions
This file was deleted.

0 commit comments

Comments
 (0)