Skip to content

Commit

Permalink
Use only native bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
karaggeorge committed Nov 17, 2024
1 parent bd2c74b commit 01598e7
Show file tree
Hide file tree
Showing 14 changed files with 63 additions and 1,216 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/release.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ yarn.lock
xcuserdata
/Packages
/*.xcodeproj
/aperture
/aperture.node
/build

recording.mp4

Expand Down
11 changes: 1 addition & 10 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,7 @@
"location" : "https://github.com/wulkano/Aperture",
"state" : {
"branch" : "george/rewrite-in-screen-capture-kit",
"revision" : "eaaee3b550c23b86e0df39ae3261d0024923ecfd"
}
},
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser",
"state" : {
"revision" : "41982a3656a71c768319979febd796c6fd111d5c",
"version" : "1.5.0"
"revision" : "ac1febd90238b0bbd1989beac2d7db3a4ca20f41"
}
},
{
Expand Down
22 changes: 4 additions & 18 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,24 @@
import PackageDescription

let package = Package(
name: "ApertureCLI",
name: "aperture",
platforms: [
.macOS(.v13)
],
products: [
.executable(
name: "aperture",
targets: [
"ApertureCLI"
]
),
.library(
name: "aperture-module",
name: "aperture",
type: .dynamic,
targets: ["ApertureModule"]
targets: ["ApertureNode"]
)
],
dependencies: [
.package(url: "https://github.com/wulkano/Aperture", branch: "george/rewrite-in-screen-capture-kit"),
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.1"),
.package(path: "node_modules/node-swift")
],
targets: [
.executableTarget(
name: "ApertureCLI",
dependencies: [
"Aperture",
.product(name: "ArgumentParser", package: "swift-argument-parser")
]
),
.target(
name: "ApertureModule",
name: "ApertureNode",
dependencies: [
"Aperture",
.product(name: "NodeAPI", package: "node-swift"),
Expand Down
261 changes: 0 additions & 261 deletions Sources/ApertureCLI/ApertureCLI.swift

This file was deleted.

Loading

0 comments on commit 01598e7

Please sign in to comment.