Added Square and Equilateral Triangle classes

This commit is contained in:
Tony Bark 2026-04-17 16:51:35 -04:00
parent 1c40a688e4
commit 53ba21d774
9 changed files with 154 additions and 45 deletions

View file

@ -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]
)