Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
chenaibin committed Apr 18, 2018
1 parent d337e16 commit a3a6b01
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 63 deletions.
2 changes: 2 additions & 0 deletions HTN.podspec
Expand Up @@ -30,6 +30,8 @@ Pod::Spec.new do |s|

s.osx.deployment_target = '10.10'
s.requires_arc = true
s.swift_version = '4.0'
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.0'}

# s.resource_bundles = {
# 'HTNSwift' => ['HTNSwift/Assets/*.png']
Expand Down
52 changes: 0 additions & 52 deletions HTNCLI/Package.resolved

This file was deleted.

12 changes: 6 additions & 6 deletions HTNCLI/Package.swift
Expand Up @@ -5,17 +5,17 @@ import PackageDescription

let package = Package(
name: "HTNCLI",
products: [
.executable(name: "htn", targets: ["CLI"])
],
// products: [
// .executable(name: "htn", targets: ["CLI"])
// ],
dependencies: [
// .package(url: "https://github.com/ming1016/HTN", from: "0.1.0"),
.package(url: "../../HTN", from: "0.1.0"),
.package(url: "https://github.com/ming1016/HTN", from: "0.1.0"),
// .package(url: "../../HTN", .branch("master")),
.package(url: "https://github.com/jakeheis/SwiftCLI", from: "4.2.0"),
.package(url: "https://github.com/onevcat/Rainbow", from: "3.1.1"),
.package(url: "https://github.com/kylef/PathKit", from: "0.9.1")
],
targets: [
.target(name: "CLI", dependencies: ["HTN", "SwiftCLI", "Rainbow", "PathKit"])
.target(name: "HTNCLI", dependencies: ["HTN", "SwiftCLI", "Rainbow", "PathKit"])
]
)
File renamed without changes.
Expand Up @@ -9,6 +9,7 @@
import Foundation
import HTN
import PathKit
import Dispatch

public class HTNCLI {
public static let version = "0.1.0"
Expand Down
File renamed without changes.
3 changes: 0 additions & 3 deletions HTNCLI/build.sh

This file was deleted.

4 changes: 2 additions & 2 deletions Package.swift
Expand Up @@ -6,10 +6,10 @@ import PackageDescription
let package = Package(
name: "HTN",
products: [
.library(name: "HTN",targets: ["HTN"])
.library(name: "HTN",targets: [ "HTN" ]),
],
dependencies: [],
targets: [
.target(name: "HTN", dependencies: [], path: "Sources")
.target(name: "HTN", dependencies: [], path: "Sources"),
]
)

0 comments on commit a3a6b01

Please sign in to comment.