Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Jul 3, 2016
2 parents fcf7745 + 7d07d62 commit ec60a28
Show file tree
Hide file tree
Showing 96 changed files with 2,488 additions and 4,175 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: generic
osx_image: xcode7.3
osx_image: xcode8
os:
- linux
- osx
Expand All @@ -13,15 +13,15 @@ install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install clang uuid-dev libjson-c-dev ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then mkdir $SWIFT_DIR ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl https://swift.org/builds/development/ubuntu1404/$SWIFT_VERSION/$SWIFT_VERSION-ubuntu14.04.tar.gz -s | tar xz -C $SWIFT_DIR &> /dev/null ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl https://swift.org/builds/swift-3.0-preview-1/ubuntu1404/$SWIFT_VERSION/$SWIFT_VERSION-ubuntu14.04.tar.gz -s | tar xz -C $SWIFT_DIR &> /dev/null ; fi
env:
- SWIFT_VERSION=swift-DEVELOPMENT-SNAPSHOT-2016-02-25-a
- SWIFT_VERSION=swift-3.0-PREVIEW-1
script:
- uname
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then xctool test -workspace SwiftFoundation.xcworkspace -scheme "SwiftFoundation OS X" -sdk macosx ONLY_ACTIVE_ARCH=NO ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then xctool build -workspace SwiftFoundation.xcworkspace -scheme "SwiftFoundation iOS" -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then xctool test -project Xcode/SwiftFoundation.xcodeproj -scheme "SwiftFoundation OS X" -sdk macosx ONLY_ACTIVE_ARCH=NO ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then xctool build -project Xcode/SwiftFoundation.xcodeproj -scheme "SwiftFoundation iOS" -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO ; fi

- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export PATH=$(pwd)/tests/$SWIFT_VERSION-ubuntu14.04/usr/bin:"${PATH}" ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then swift build -c release ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then .build/release/UnitTests ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then swift build ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then .build/debug/UnitTests ; fi

2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "PureSwift/json-c" "e8e38025563d43e425536200002ad13c3f35a98b"
github "PureSwift/JSON-C" "098c5ad91d262de5ad695a6162b6d0d4b384741d"
38 changes: 0 additions & 38 deletions Introduction.playground/Contents.swift

This file was deleted.

4 changes: 0 additions & 4 deletions Introduction.playground/contents.xcplayground

This file was deleted.

This file was deleted.

Binary file not shown.
16 changes: 0 additions & 16 deletions Introduction.playground/timeline.xctimeline

This file was deleted.

20 changes: 7 additions & 13 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,16 @@ import PackageDescription

let package = Package(
name: "SwiftFoundation",
dependencies: [
.Package(url: "https://github.com/PureSwift/CUUID.git", majorVersion: 1),
.Package(url: "https://github.com/PureSwift/CStatfs.git", majorVersion: 1),
.Package(url: "https://github.com/PureSwift/CJSONC.git", majorVersion: 1)
],
targets: [
Target(
name: "UnitTests",
dependencies: [.Target(name: "SwiftFoundation")]),
Target(
name: "FoundationUnitTests",
dependencies: [.Target(name: "SwiftFoundation")]),
Target(
name: "FoundationConvertible",
dependencies: [.Target(name: "SwiftFoundation")]),
Target(
name: "SwiftFoundation")
]
)
],
dependencies: [
.Package(url: "https://github.com/PureSwift/CStatfs.git", majorVersion: 1),
.Package(url: "https://github.com/PureSwift/CJSONC.git", majorVersion: 1)
],
exclude: ["Xcode", "Carthage"]
)
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SwiftFoundation #
[![Swift](https://img.shields.io/badge/swift-2.2-orange.svg?style=flat)](https://developer.apple.com/swift/)
[![Swift](https://img.shields.io/badge/swift-3.0-orange.svg?style=flat)](https://developer.apple.com/swift/)
[![Platforms](https://img.shields.io/badge/platform-osx%20%7C%20ios%20%7C%20watchos%20%7C%20tvos%20%7C%20linux-lightgrey.svg)](https://developer.apple.com/swift/)
[![Release](https://img.shields.io/github/release/pureswift/swiftfoundation.svg)](https://github.com/PureSwift/SwiftFoundation/releases)
[![License](https://img.shields.io/badge/license-MIT-71787A.svg)](https://tldrlegal.com/license/mit-license)
Expand Down Expand Up @@ -42,17 +42,18 @@ swift build
## Implemented
To see what parts of Foundation are implemented, just look at the unit tests. Completed functionality will be fully unit tested. Note that there is some functionality that is written as a protocol only, that will not be included on this list.

- [x] Base64
- [x] Data
- [x] Date
- [x] FileManager
- [x] JSON
- [x] Null
- [x] Order (equivalent to ```NSComparisonResult```)
- [X] RegularExpression (POSIX, not ICU)
- [x] SortDescriptor
- [x] UUID
- [x] FileManager
- [x] Data
- [x] Thread
- [x] URL
- [X] RegularExpression (POSIX, not ICU)
- [x] JSON
- [x] Base64
- [x] UUID

# License

Expand Down
21 changes: 0 additions & 21 deletions Sources/FoundationConvertible/FoundationConvertible.swift

This file was deleted.

97 changes: 0 additions & 97 deletions Sources/FoundationConvertible/HTTPClient.swift

This file was deleted.

36 changes: 0 additions & 36 deletions Sources/FoundationConvertible/NSComparisonResult.swift

This file was deleted.

35 changes: 0 additions & 35 deletions Sources/FoundationConvertible/NSData.swift

This file was deleted.

27 changes: 0 additions & 27 deletions Sources/FoundationConvertible/NSDate.swift

This file was deleted.

Loading

0 comments on commit ec60a28

Please sign in to comment.