Skip to content

Commit

Permalink
chore: update target name to be OrderedSet
Browse files Browse the repository at this point in the history
  • Loading branch information
iamDecode committed Mar 30, 2020
1 parent 055f16a commit e337713
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Sources/OrderedSet/OrderedSet.swift:
Tests/OrderedSetTests/OrderedSetTests.swift:
@echo $@
@echo "// From $(TEST_URL)" > $@
@curl -L $(TEST_URL) >> $@
@curl -L $(TEST_URL) | sed 's/TSCBasic/OrderedSet/g' | sed '/^typealias/ d' >> $@
3 changes: 2 additions & 1 deletion OrderedSet.swift.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Pod::Spec.new do |spec|
spec.name = 'OrderedSet.swift'
spec.version = '0.1.0'
spec.module_name = 'OrderedSet'
spec.version = '0.1.1'
spec.summary = 'Ordered Set implementation for Swift'
spec.homepage = 'https://github.com/cocodelabs/OrderedSet'
spec.license = { :type => 'CUSTOM', :file => 'LICENSE.txt' }
Expand Down
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ let package = Package(
products: [
.library(
name: "OrderedSet",
targets: ["TSCBasic"]),
targets: ["OrderedSet"]),
],
targets: [
.target(name: "TSCBasic", path: "Sources/OrderedSet"),
.target(name: "OrderedSet", path: "Sources/OrderedSet"),
.testTarget(
name: "OrderedSetTests",
dependencies: ["TSCBasic"]
dependencies: ["OrderedSet"]
),
]
)
3 changes: 1 addition & 2 deletions Tests/OrderedSetTests/OrderedSetTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@

import XCTest

import TSCBasic
import OrderedSet

typealias OrderedSet = TSCBasic.OrderedSet

class OrderedSetTests: XCTestCase {
func testBasics() {
Expand Down

0 comments on commit e337713

Please sign in to comment.