Compare commits

...

9 Commits

Author SHA1 Message Date
Wolf McNally b613104a81 Build as dynamic library. 2019-12-14 16:44:14 -08:00
Wolf McNally 2d10865da1 Updated dependencies. 2019-11-27 01:06:38 -08:00
Wolf McNally e9b670d5d3 Added minimum platform versions. 2019-09-27 15:15:52 -07:00
Wolf McNally 018834d349 Update gitignore. 2019-09-21 15:12:56 -07:00
Wolf McNally d76af85aef Updated for dependent packages. 2019-09-21 14:22:52 -07:00
Wolf McNally d310153992 Minor update. 2019-06-10 15:04:09 -07:00
Wolf McNally ce3ff33b30 Added WolfConcurrency to SPM dependencies. 2019-04-09 10:38:04 -07:00
Wolf McNally afae75e86b Added precedence groups to operator exports. 2019-04-08 13:08:00 -07:00
Wolf McNally fceeea9ee1 Export WolfConcurrency. 2019-04-07 23:26:15 -07:00
5 changed files with 146 additions and 140 deletions

62
.gitignore vendored
View File

@ -1,12 +1,8 @@
# OS X
.DS_Store
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
## Build generated
build/
DerivedData/
## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
@ -16,53 +12,19 @@ DerivedData/
*.perspectivev3
!default.perspectivev3
xcuserdata/
## Other
*.moved-aside
*.xccheckout
*.xcscmblueprint
## Obj-C/Swift specific
profile
*.moved-aside
DerivedData
*.hmap
*.ipa
*.dSYM.zip
*.dSYM
## Playgrounds
timeline.xctimeline
playground.xcworkspace
# Bundler
.bundle
# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
.build/
# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
Pods/
# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts
.swiftpm
.build
Package.resolved
Carthage/Build
# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
Pods/

View File

@ -1,11 +1,15 @@
// swift-tools-version:5.0
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "WolfCore",
platforms: [
.iOS(.v9), .macOS(.v10_13), .tvOS(.v11)
],
products: [
.library(
name: "WolfCore",
type: .dynamic,
targets: ["WolfCore"]),
],
dependencies: [
@ -16,7 +20,8 @@ let package = Package(
.package(url: "https://github.com/wolfmcnally/ExtensibleEnumeratedName", from: "2.0.0"),
.package(url: "https://github.com/wolfmcnally/WolfWith", from: "2.0.0"),
.package(url: "https://github.com/wolfmcnally/WolfStrings", from: "2.0.0"),
.package(url: "https://github.com/wolfmcnally/WolfFoundation", from: "3.0.0")
.package(url: "https://github.com/wolfmcnally/WolfFoundation", from: "5.0.0"),
.package(url: "https://github.com/wolfmcnally/WolfConcurrency", from: "3.0.0")
],
targets: [
.target(
@ -29,7 +34,8 @@ let package = Package(
"ExtensibleEnumeratedName",
"WolfWith",
"WolfStrings",
"WolfFoundation"
"WolfFoundation",
"WolfConcurrency"
])
]
)

View File

@ -0,0 +1,122 @@
//
// WolfPipe
//
// ComposeOperator.swift
precedencegroup ForwardCompositionPrecedence {
associativity: left
higherThan: ForwardApplicationPrecedence
}
precedencegroup BackwardsCompositionPrecedence {
associativity: right
higherThan: ForwardApplicationPrecedence
}
precedencegroup SingleTypeCompositionPrecedence {
associativity: left
higherThan: ForwardApplicationPrecedence
}
infix operator >>> : ForwardCompositionPrecedence
infix operator <<< : BackwardsCompositionPrecedence
infix operator <> : SingleTypeCompositionPrecedence
// EffectfulComposeOperator.swift
precedencegroup EffectfulCompositionPrecedence {
associativity: left
higherThan: ForwardApplicationPrecedence
}
infix operator >=> : EffectfulCompositionPrecedence
// PipeOperator.swift
precedencegroup ForwardApplicationPrecedence {
associativity: left
higherThan: BackwardApplicationPrecedence
}
precedencegroup BackwardApplicationPrecedence {
associativity: right
higherThan: ComparisonPrecedence
lowerThan: NilCoalescingPrecedence
}
infix operator |> : ForwardApplicationPrecedence
infix operator <| : BackwardApplicationPrecedence
//
// WolfNesting
//
// NestingOperator.swift
precedencegroup NestingOperatorPrecedence {
associativity: left
higherThan: AssignmentPrecedence
lowerThan: ComparisonPrecedence
}
infix operator => : NestingOperatorPrecedence
//
// WolfWith
//
// WithOperator.swift
infix operator : CastingPrecedence
infix operator : CastingPrecedence
infix operator : CastingPrecedence
//
// WolfStrings
//
// AttributedStringOperator.swift
postfix operator §
postfix operator §?
// CreateRegularExpressionOperator.swift
prefix operator ~/
// MatchRegularExpressionOperator.swift
infix operator ~?
infix operator ~??
// StringFloatPrecision.swift
precedencegroup AttributeAssignmentPrecedence {
associativity: left
higherThan: AssignmentPrecedence
lowerThan: ComparisonPrecedence
}
infix operator %% : AttributeAssignmentPrecedence
//
// WolfFoundation
//
// InheritsFromOperator.swift
infix operator <- : ComparisonPrecedence
// InvalidateAndAssignOperator.swift
infix operator = : AssignmentPrecedence
// ReferenceOperator.swift
postfix operator ®
// TweakOperator.swift
prefix operator
//
// WolfNumerics
//
// ApproximatelyEqualsOperator.swift
infix operator : ComparisonPrecedence
infix operator ! : ComparisonPrecedence
// IntervalCreationOperator.swift
infix operator .. : RangeFormationPrecedence
// PercentOperator.swift
postfix operator %

View File

@ -6,89 +6,4 @@
@_exported import WolfStrings
@_exported import WolfWith
@_exported import WolfFoundation
//
// WolfPipe
//
// ComposeOperator.swift
infix operator >>> : ForwardCompositionPrecedence
infix operator <<< : BackwardsCompositionPrecedence
infix operator <> : SingleTypeCompositionPrecedence
// EffectfulComposeOperator.swift
infix operator >=> : EffectfulCompositionPrecedence
// PipeOperator.swift
infix operator |> : ForwardApplicationPrecedence
infix operator <| : BackwardApplicationPrecedence
//
// WolfNesting
//
// NestingOperator.swift
infix operator => : NestingOperatorPrecedence
//
// WolfWith
//
// WithOperator.swift
infix operator : CastingPrecedence
infix operator : CastingPrecedence
infix operator : CastingPrecedence
//
// WolfStrings
//
// AttributedStringOperator.swift
postfix operator §
postfix operator §?
// CreateRegularExpressionOperator.swift
prefix operator ~/
// MatchRegularExpressionOperator.swift
infix operator ~?
infix operator ~??
// StringFloatPrecision.swift
precedencegroup AttributeAssignmentPrecedence {
associativity: left
higherThan: AssignmentPrecedence
lowerThan: ComparisonPrecedence
}
infix operator %% : AttributeAssignmentPrecedence
//
// WolfFoundation
//
// InheritsFromOperator.swift
infix operator <- : ComparisonPrecedence
// InvalidateAndAssignOperator.swift
infix operator = : AssignmentPrecedence
// ReferenceOperator.swift
postfix operator ®
// TweakOperator.swift
prefix operator
//
// WolfNumerics
//
// ApproximatelyEqualsOperator.swift
infix operator : ComparisonPrecedence
infix operator ! : ComparisonPrecedence
// IntervalCreationOperator.swift
infix operator .. : RangeFormationPrecedence
// PercentOperator.swift
postfix operator %
@_exported import WolfConcurrency

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'WolfCore'
s.version = '4.0.5'
s.version = '5.0.0'
s.summary = 'A library of conveniences for Swift, iOS, MacOS, tvOS, WatchOS, and Linux.'
s.description = <<-DESC
WolfCore is a library of conveniences for constructing Swift applications in iOS, tvOS, MacOS, WatchOS, and Linux. WolfCore is maintained by Wolf McNally.
@ -27,4 +27,5 @@ WolfCore is a library of conveniences for constructing Swift applications in iOS
s.dependency 'WolfWith'
s.dependency 'WolfStrings'
s.dependency 'WolfFoundation'
s.dependency 'WolfConcurrency'
end