Skip to content

Commit

Permalink
r2pipe module naming changes
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Apr 10, 2024
1 parent 2154c91 commit e602ea9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import PackageDescription
let package = Package(
name: "r2pipe",
products: [
.library(name: "r2pipe", targets: ["r2pipeLibrary"]),
.library(name: "r2pipe", targets: ["R2Pipe"]),
],
dependencies: [],
targets: [
.target(
name: "r2pipeLibrary",
name: "R2Pipe",
path: "swift/Sources"
)
]
Expand Down
6 changes: 3 additions & 3 deletions swift/Package.swift
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// swift-tools-version:5.10
// swift-tools-version:5.8

import PackageDescription

let package = Package(
name: "r2pipe",
products: [
.library(name: "r2pipe", targets: ["r2pipe"]),
.library(name: "r2pipe", targets: ["R2Pipe"]),
],
dependencies: [],
targets: [
.target(name: "r2pipe")
.target(name: "R2Pipe")
]
)
2 changes: 2 additions & 0 deletions swift/Sources/r2pipe/r2pipe.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ extension String {
}
}

typealias open = R2Pipe

public class R2Pipe {
var mode: R2PipeChannel = .Unknown
var path = ""
Expand Down

0 comments on commit e602ea9

Please sign in to comment.