diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0023a53 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +.DS_Store +/.build +/Packages +xcuserdata/ +DerivedData/ +.swiftpm/configuration/registries.json +.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata +.netrc diff --git a/.swiftpm/xcode/xcshareddata/xcschemes/Rift-Package.xcscheme b/.swiftpm/xcode/xcshareddata/xcschemes/Rift-Package.xcscheme new file mode 100644 index 0000000..c656395 --- /dev/null +++ b/.swiftpm/xcode/xcshareddata/xcschemes/Rift-Package.xcscheme @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..1129dbb --- /dev/null +++ b/Package.swift @@ -0,0 +1,24 @@ +// swift-tools-version: 5.10 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "RiftLang", + products: [ + // Products define the executables and libraries a package produces, making them visible to other packages. + // .library( + // name: "RiftLang", + // targets: ["RiftLang"]), + ], + 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. + // .target( + // name: "RiftLang"), + // .testTarget( + // name: "RiftLangTests", + // dependencies: ["RiftLang"] + // ), + ] +) diff --git a/Tests/RiftTests/RiftTests.swift b/Tests/RiftTests/RiftTests.swift new file mode 100644 index 0000000..e5034f5 --- /dev/null +++ b/Tests/RiftTests/RiftTests.swift @@ -0,0 +1,12 @@ +import XCTest +@testable import Rift + +final class RiftTests: XCTestCase { + func testExample() throws { + // XCTest Documentation + // https://developer.apple.com/documentation/xctest + + // Defining Test Cases and Test Methods + // https://developer.apple.com/documentation/xctest/defining_test_cases_and_test_methods + } +}