mirror of
https://git.tonybark.com/tonytins/swiftlyfox.git
synced 2026-05-12 08:53:32 -04:00
Added Square and Equilateral Triangle classes
This commit is contained in:
parent
1c40a688e4
commit
53ba21d774
9 changed files with 154 additions and 45 deletions
|
|
@ -1,23 +1,23 @@
|
|||
// swift-tools-version: 6.2
|
||||
// swift-tools-version: 6.3
|
||||
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
||||
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "swiftyfox",
|
||||
dependencies: [
|
||||
// other dependencies
|
||||
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.0"),
|
||||
],
|
||||
targets: [
|
||||
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
||||
// Targets can depend on other targets in this package and products from dependencies.
|
||||
.executableTarget(
|
||||
name: "swiftyfox",
|
||||
dependencies: [
|
||||
// other dependencies
|
||||
.product(name: "ArgumentParser", package: "swift-argument-parser"),
|
||||
]),
|
||||
|
||||
]
|
||||
name: "swiftlyfox",
|
||||
dependencies: [
|
||||
// other dependencies
|
||||
],
|
||||
targets: [
|
||||
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
||||
// Targets can depend on other targets in this package and products from dependencies.
|
||||
.executableTarget(
|
||||
name: "swiftlyfox",
|
||||
),
|
||||
.testTarget(
|
||||
name: "swiftlyfoxTests",
|
||||
dependencies: ["swiftlyfox"]
|
||||
),
|
||||
],
|
||||
swiftLanguageModes: [.v6]
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue