Skip to content

Commit

Permalink
[General] Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
leptos-null committed Apr 6, 2024
0 parents commit 3e498da
Show file tree
Hide file tree
Showing 7 changed files with 575 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.DS_Store
/.build
/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "ClassDumpRuntime"]
path = ClassDumpRuntime
url = git@github.com:leptos-null/ClassDumpRuntime.git
1 change: 1 addition & 0 deletions ClassDumpRuntime
Submodule ClassDumpRuntime added at 6d7711
5 changes: 5 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Copyright 2023 Leptos

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
35 changes: 35 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "classdumpctl",
platforms: [
.iOS(.v12),
.macOS(.v10_13),
.watchOS(.v4),
.tvOS(.v12),
.macCatalyst(.v13),
.visionOS(.v1),
],
products: [
.executable(
name: "classdumpctl",
targets: ["classdumpctl"]
)
],
dependencies: [
// using a local package since we already have the package
// locally since we need it to build using Theos
.package(path: "ClassDumpRuntime")
],
targets: [
.executableTarget(
name: "classdumpctl",
dependencies: [
.product(name: "ClassDumpRuntime", package: "ClassDumpRuntime")
]
),
]
)
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## classdumpctl

`classdumpctl` is a command line tool to dump Objective-C class and protocol headers.

classdumpctl is built on top of [ClassDumpRuntime](https://github.com/leptos-null/ClassDumpRuntime)
Loading

0 comments on commit 3e498da

Please sign in to comment.