From c162d6a246e1fe48a20afcd342d2246ecd0edfeb Mon Sep 17 00:00:00 2001 From: Andrew Barba Date: Thu, 4 Apr 2024 20:05:42 -0400 Subject: [PATCH] Swift format --- .swift-format | 7 +++++++ Package.swift | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 .swift-format diff --git a/.swift-format b/.swift-format new file mode 100644 index 00000000..306e8dd6 --- /dev/null +++ b/.swift-format @@ -0,0 +1,7 @@ +{ + "indentation" : { + "spaces": 4 + }, + "tabWidth": 4, + "version": 1 +} \ No newline at end of file diff --git a/Package.swift b/Package.swift index 144a8058..e8ec07f8 100644 --- a/Package.swift +++ b/Package.swift @@ -8,7 +8,7 @@ let package = Package( .macOS(.v11), .iOS(.v14), .tvOS(.v14), - .watchOS(.v7) + .watchOS(.v7), ], products: [ .library(name: "Compute", targets: ["Compute"]) @@ -21,7 +21,7 @@ let package = Package( name: "Compute", dependencies: [ "ComputeRuntime", - .product(name: "Crypto", package: "swift-crypto") + .product(name: "Crypto", package: "swift-crypto"), ], swiftSettings: [ .enableExperimentalFeature("StrictConcurrency") @@ -40,6 +40,6 @@ let package = Package( .testTarget( name: "ComputeTests", dependencies: ["Compute"] - ) + ), ] )