Skip to content

Commit

Permalink
Rollback GraphViz to v0.2.0, fix for Swift 6.
Browse files Browse the repository at this point in the history
  • Loading branch information
furby-tm committed Aug 17, 2024
1 parent 70bebcf commit 5e597d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import PackageDescription

let package = Package(
name: "GraphViz",
platforms: [.macOS(.v10_15)],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
Expand Down
2 changes: 1 addition & 1 deletion Sources/GraphVizBuilder/GraphBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ extension Edge: GraphMember {}

// MARK: -

@_functionBuilder
@resultBuilder
public struct GraphBuilder {
struct Fragment: GraphMember {
var members: [GraphMember]
Expand Down
2 changes: 1 addition & 1 deletion Sources/GraphVizBuilder/SubgraphBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ extension Edge: SubgraphMember {}

// MARK: -

@_functionBuilder
@resultBuilder
public struct SubgraphBuilder {
struct Fragment: SubgraphMember {
var members: [SubgraphMember]
Expand Down

0 comments on commit 5e597d2

Please sign in to comment.