Skip to content

Commit

Permalink
Working on the apis of the rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Dracks committed Dec 1, 2024
1 parent 76ad8e8 commit 3cf1970
Show file tree
Hide file tree
Showing 54 changed files with 2,354 additions and 732 deletions.
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"originHash" : "cab653450351fd36fab275010bb6040dc8bd58a3206acccead8ae9e0603d1020",
"originHash" : "218da6b2adb631d44b1b97f5c24e6ab8328280cb5c905230f57301a7c758e60f",
"pins" : [
{
"identity" : "async-http-client",
Expand Down Expand Up @@ -384,7 +384,7 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-openapi-runtime",
"state" : {
"revision" : "26e8ae3515d1ff3607e924ac96fc0094775f55e8",
"revision" : "daa2fb54fe4a7f5187d7286047d5144c8cb97477",
"version" : "1.6.0"
}
},
Expand Down
16 changes: 16 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// swift-tools-version: 5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.

import CompilerPluginSupport
import PackageDescription

let package = Package(
Expand Down Expand Up @@ -36,8 +37,22 @@ let package = Package(

// dependency injection
.package(url: "https://github.com/pointfreeco/swift-dependencies", from: "1.4.1"),
.package(
url: "https://github.com/swiftlang/swift-syntax.git", from: "600.0.0-latest"
),
],
targets: [
.macro(
name: "swift-macrosMacros",
dependencies: [
.product(name: "SwiftSyntaxMacros", package: "swift-syntax"),
.product(name: "SwiftCompilerPlugin", package: "swift-syntax"),
],
path: "src/swift-server-macrosMacros"
),
.target(
name: "swift-macros", dependencies: ["swift-macrosMacros"],
path: "src/swift-server-macros"),
.executableTarget(
name: "MrScroogeServer",
dependencies: [
Expand All @@ -57,6 +72,7 @@ let package = Package(
package: "vapor-queues-fluent-driver"),
"SwiftSoup",
.product(name: "CSV", package: "CSV.swift"),
"swift-macros",
],
path: "src/swift-server",
resources: [
Expand Down
Loading

0 comments on commit 3cf1970

Please sign in to comment.