Skip to content

Commit

Permalink
Merge pull request #3 from tigerpixel/development
Browse files Browse the repository at this point in the history
Initial beta release build
  • Loading branch information
tigerpixel committed Sep 20, 2017
2 parents 495dbc4 + 9364a94 commit 1d6c84b
Show file tree
Hide file tree
Showing 23 changed files with 2,320 additions and 79 deletions.
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.1
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
osx_image: xcode8.3
language: objective-c

before_install:

- gem install cocoapods # Since Travis is not always on latest version
- pod install

install:
- ./install_swiftlint.sh

script:
- pod lib lint PGNParser.podspec

- swiftlint

- xcodebuild test -workspace PGNParser.xcworkspace -scheme PGNParser-iOS -destination 'platform=iOS Simulator,OS=latest,name=iPhone 7'
- xcodebuild test -workspace PGNParser.xcworkspace -scheme PGNParser-macOS -destination 'platform=macOS,arch=x86_64'
- xcodebuild test -workspace PGNParser.xcworkspace -scheme PGNParser-tvOS -destination 'platform=tvOS Simulator,name=Apple TV 1080p'

- xcodebuild -workspace PGNParser.xcworkspace -scheme PGNParser-watchOS
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Changelog
=========

Version 0.1.0
-------------
*Released 2017-06-15*

* Initial beta release for Draughts game string parsing.
* Setup the basic project structure with Swiftlint and TravisCI.
* Give the project targets for iOS, Mac, tvOS and watchOS.
* Make the project available to Cocoapods, Carthage and the SPM.
20 changes: 20 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2017 Liam <l.flynn2@live.co.uk>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
MIT License
30 changes: 30 additions & 0 deletions PGNParser.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#
# Be sure to run `pod lib lint PGNParser.podspec' to ensure this is a
# valid spec before submitting.
#
# The podspec file for PGNParser. A functional parser for Portabe Game Notation.

Pod::Spec.new do |s|
s.name = 'PGNParser'
s.version = '0.1.0'
s.summary = 'A simple way to parse Portable Game Notation into Swift objects.'
s.description = <<-DESC
A simple way to parse Portable Game Notation into Swift objects. Easily parse game strings into Swift objects with just a single call. More work is required to fully suppourt the format. Pull requests for improvements are welcome.
DESC

s.homepage = 'https://github.com/tigerpixel/PGNParser'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Tigerpixel' => 'l.flynn2@live.co.uk' }
s.source = { :git => 'https://github.com/tigerpixel/PGNParser.git', :tag => s.version.to_s }

s.requires_arc = true
s.ios.deployment_target = '8.0'
s.watchos.deployment_target = '2.0'
s.osx.deployment_target = '10.9'
s.tvos.deployment_target = '9.0'

s.source_files = 'Source/**/*.swift'

s.dependency 'Currier'
s.dependency 'ParserCombinator'
end
1,061 changes: 1,030 additions & 31 deletions PGNParser.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
BuildableIdentifier = "primary"
BlueprintIdentifier = "0C07C2BE1E525E0F00A921A8"
BuildableName = "PGNParser.framework"
BlueprintName = "PGNParser"
BlueprintName = "PGNParser-iOS"
ReferencedContainer = "container:PGNParser.xcodeproj">
</BuildableReference>
</BuildActionEntry>
Expand All @@ -33,8 +33,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0C07C2C71E525E0F00A921A8"
BuildableName = "PGNParserTests.xctest"
BlueprintName = "PGNParserTests"
BuildableName = "PGNParserTests-iOS.xctest"
BlueprintName = "PGNParserTests-iOS"
ReferencedContainer = "container:PGNParser.xcodeproj">
</BuildableReference>
</TestableReference>
Expand All @@ -44,7 +44,7 @@
BuildableIdentifier = "primary"
BlueprintIdentifier = "0C07C2BE1E525E0F00A921A8"
BuildableName = "PGNParser.framework"
BlueprintName = "PGNParser"
BlueprintName = "PGNParser-iOS"
ReferencedContainer = "container:PGNParser.xcodeproj">
</BuildableReference>
</MacroExpansion>
Expand All @@ -66,7 +66,7 @@
BuildableIdentifier = "primary"
BlueprintIdentifier = "0C07C2BE1E525E0F00A921A8"
BuildableName = "PGNParser.framework"
BlueprintName = "PGNParser"
BlueprintName = "PGNParser-iOS"
ReferencedContainer = "container:PGNParser.xcodeproj">
</BuildableReference>
</MacroExpansion>
Expand All @@ -84,7 +84,7 @@
BuildableIdentifier = "primary"
BlueprintIdentifier = "0C07C2BE1E525E0F00A921A8"
BuildableName = "PGNParser.framework"
BlueprintName = "PGNParser"
BlueprintName = "PGNParser-iOS"
ReferencedContainer = "container:PGNParser.xcodeproj">
</BuildableReference>
</MacroExpansion>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0830"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0C3F61BD1EB2715700D8BB32"
BuildableName = "PGNParser.framework"
BlueprintName = "PGNParser-macOS"
ReferencedContainer = "container:PGNParser.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0C3F61C51EB2715700D8BB32"
BuildableName = "PGNParserTests-macOS.xctest"
BlueprintName = "PGNParserTests-macOS"
ReferencedContainer = "container:PGNParser.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0C3F61BD1EB2715700D8BB32"
BuildableName = "PGNParser.framework"
BlueprintName = "PGNParser-macOS"
ReferencedContainer = "container:PGNParser.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0C3F61BD1EB2715700D8BB32"
BuildableName = "PGNParser.framework"
BlueprintName = "PGNParser-macOS"
ReferencedContainer = "container:PGNParser.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0C3F61BD1EB2715700D8BB32"
BuildableName = "PGNParser.framework"
BlueprintName = "PGNParser-macOS"
ReferencedContainer = "container:PGNParser.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
99 changes: 99 additions & 0 deletions PGNParser.xcodeproj/xcshareddata/xcschemes/PGNParser-tvOS.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0830"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0C3F62031EB2717F00D8BB32"
BuildableName = "PGNParser.framework"
BlueprintName = "PGNParser-tvOS"
ReferencedContainer = "container:PGNParser.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0C3F620B1EB2717F00D8BB32"
BuildableName = "PGNParserTests-tvOS.xctest"
BlueprintName = "PGNParserTests-tvOS"
ReferencedContainer = "container:PGNParser.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0C3F62031EB2717F00D8BB32"
BuildableName = "PGNParser.framework"
BlueprintName = "PGNParser-tvOS"
ReferencedContainer = "container:PGNParser.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0C3F62031EB2717F00D8BB32"
BuildableName = "PGNParser.framework"
BlueprintName = "PGNParser-tvOS"
ReferencedContainer = "container:PGNParser.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0C3F62031EB2717F00D8BB32"
BuildableName = "PGNParser.framework"
BlueprintName = "PGNParser-tvOS"
ReferencedContainer = "container:PGNParser.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Loading

0 comments on commit 1d6c84b

Please sign in to comment.