Skip to content

Commit ee02af2

Browse files
authored
Merge pull request #10 from MFB-Technologies-Inc/fix-file-headers
2 parents cb64d3b + 64ea4d3 commit ee02af2

32 files changed

+100
-9
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@ jobs:
1515
environment: default
1616
steps:
1717
- uses: actions/checkout@v3
18+
- name: SwiftFormat version
19+
run: swiftformat --version
1820
- name: Format lint
1921
run: swiftformat --lint .
22+
- name: SwiftLint version
23+
run: swiftlint --version
2024
- name: Lint
21-
run: swiftlint .
25+
run: swiftlint lint --quiet
2226
macos-test:
2327
runs-on: macos-13
2428
environment: default

.swiftformat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
--redundanttype explicit
33
--swiftversion 5.7
44
--maxwidth 120
5-
--header "{file}\nArgumentEncoding\n\nCopyright © {year} MFB Technologies, Inc. All rights reserved."
5+
--header "{file}\nArgumentEncoding\n\nCopyright © {year} MFB Technologies, Inc. All rights reserved.\n\nThis source code is licensed under the MIT license found in the\nLICENSE file in the root directory of this source tree."
66
--allman false
77
--exclude **/output/**/*,.tuist-bin,**/.swiftpm/*,**/.build/*
88
--wraparguments before-first

Examples/Sources/SwiftCommand/RunCommand.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// ArgumentEncoding
33
//
44
// Copyright © 2023 MFB Technologies, Inc. All rights reserved.
5+
//
6+
// This source code is licensed under the MIT license found in the
7+
// LICENSE file in the root directory of this source tree.
58

69
import ArgumentEncoding
710

Examples/Sources/SwiftCommand/SwiftCommand.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// ArgumentEncoding
33
//
44
// Copyright © 2023 MFB Technologies, Inc. All rights reserved.
5+
//
6+
// This source code is licensed under the MIT license found in the
7+
// LICENSE file in the root directory of this source tree.
58

69
import ArgumentEncoding
710

Examples/Sources/SwiftCommand/TestCommand.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// ArgumentEncoding
33
//
44
// Copyright © 2023 MFB Technologies, Inc. All rights reserved.
5+
//
6+
// This source code is licensed under the MIT license found in the
7+
// LICENSE file in the root directory of this source tree.
58

69
import ArgumentEncoding
710

Examples/Sources/SwiftCommand/main.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// ArgumentEncoding
33
//
44
// Copyright © 2023 MFB Technologies, Inc. All rights reserved.
5+
//
6+
// This source code is licensed under the MIT license found in the
7+
// LICENSE file in the root directory of this source tree.
58

69
let test = SwiftCommand.test(TestCommand(
710
parallel: true,

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sources/ArgumentEncoding/ArgumentGroup.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// ArgumentEncoding
33
//
44
// Copyright © 2023 MFB Technologies, Inc. All rights reserved.
5+
//
6+
// This source code is licensed under the MIT license found in the
7+
// LICENSE file in the root directory of this source tree.
58

69
import Dependencies
710

Sources/ArgumentEncoding/CaseConverter.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// ArgumentEncoding
33
//
44
// Copyright © 2023 MFB Technologies, Inc. All rights reserved.
5+
//
6+
// This source code is licensed under the MIT license found in the
7+
// LICENSE file in the root directory of this source tree.
58

69
import Foundation
710

Sources/ArgumentEncoding/Command.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// ArgumentEncoding
33
//
44
// Copyright © 2023 MFB Technologies, Inc. All rights reserved.
5+
//
6+
// This source code is licensed under the MIT license found in the
7+
// LICENSE file in the root directory of this source tree.
58

69
/// A command type argument with no nested or children arguments.
710
public struct Command: Hashable, Sendable, RawRepresentable {

0 commit comments

Comments
 (0)