Skip to content

Commit

Permalink
Moved CNetlink
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Sep 16, 2018
1 parent 02c2a6d commit c1bfeb6
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 5,226 deletions.
6 changes: 6 additions & 0 deletions Package.pins
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"autoPin": true,
"pins": [
{
"package": "CNetlink",
"reason": null,
"repositoryURL": "https://github.com/PureSwift/CNetlink.git",
"version": "1.0.0"
},
{
"package": "Codable",
"reason": null,
Expand Down
15 changes: 7 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,7 @@ let package = Package(
name: "Netlink",
targets: [
Target(
name: "Netlink",
dependencies: [
.Target(name: "CNetlink")
]
),
Target(
name: "CNetlink"
name: "Netlink"
),
Target(
name: "NetlinkGeneric",
Expand All @@ -33,7 +27,12 @@ let package = Package(
)
],
dependencies: [
.Package(url: "https://github.com/PureSwift/Codable.git", majorVersion: 1)
.Package(url: "https://github.com/PureSwift/CNetlink.git", majorVersion: 1)
],
exclude: ["Xcode", "Carthage"]
)

#if swift(>=3.2)
#elseif swift(>=3.0)
package.dependencies.append(.Package(url: "https://github.com/PureSwift/Codable.git", majorVersion: 1))
#endif
3 changes: 0 additions & 3 deletions Sources/CNetlink/dummy.c

This file was deleted.

90 changes: 0 additions & 90 deletions Sources/CNetlink/include/genetlink.h

This file was deleted.

4 changes: 0 additions & 4 deletions Sources/CNetlink/include/module.modulemap

This file was deleted.

193 changes: 0 additions & 193 deletions Sources/CNetlink/include/netlink.h

This file was deleted.

Loading

0 comments on commit c1bfeb6

Please sign in to comment.