Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 5 additions & 70 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,71 +1,6 @@
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## Build generated
build/
DerivedData

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata

## Other
*.xccheckout
*.moved-aside
*.xcuserstate
*.xcscmblueprint

## Obj-C/Swift specific
*.hmap
*.ipa

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
.build/

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# Pods/

# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md

fastlane/report.xml
fastlane/screenshots

Packages/
PerfectTemplate.xcodeproj
Tests/
webroot/
Package.pins
Package.resolved
.DS_Store
.swiftpm/
*.o
*.d
*.DS_Store
*.log
195 changes: 195 additions & 0 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 26 additions & 12 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,16 +1,30 @@
// swift-tools-version:4.2

// swift-tools-version: 6.2
import PackageDescription

let package = Package(
name: "PerfectTemplate",
products: [
.executable(name: "PerfectTemplate", targets: ["PerfectTemplate"])
],
dependencies: [
.package(url: "https://github.com/PerfectlySoft/Perfect-HTTPServer.git", from: "3.0.0"),
],
targets: [
.target(name: "PerfectTemplate", dependencies: ["PerfectHTTPServer"])
]
name: "PerfectTemplate",
platforms: [
.macOS(.v12),
],
products: [
.executable(name: "PerfectTemplate", targets: ["App"])
],
dependencies: [
.package(url: "https://github.com/PerfectlySoft/Perfect-NIO.git", branch: "main"),
.package(url: "https://github.com/PerfectlySoft/Perfect-CRUD.git", branch: "main"),
.package(url: "https://github.com/PerfectlySoft/Perfect-MySQL.git", branch: "main"),
.package(url: "https://github.com/PerfectlySoft/Perfect-Logger.git", branch: "main"),
],
targets: [
.executableTarget(
name: "App",
dependencies: [
.product(name: "PerfectNIO", package: "Perfect-NIO"),
.product(name: "PerfectNIOCRUD", package: "Perfect-NIO"),
.product(name: "PerfectCRUD", package: "Perfect-CRUD"),
.product(name: "PerfectMySQL", package: "Perfect-MySQL"),
.product(name: "PerfectLogger", package: "Perfect-Logger"),
]
)
]
)
Loading