Skip to content

Commit 1d6c84b

Browse files
authored
Merge pull request #3 from tigerpixel/development
Initial beta release build
2 parents 495dbc4 + 9364a94 commit 1d6c84b

23 files changed

+2320
-79
lines changed

.swift-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.1

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
osx_image: xcode8.3
2+
language: objective-c
3+
4+
before_install:
5+
6+
- gem install cocoapods # Since Travis is not always on latest version
7+
- pod install
8+
9+
install:
10+
- ./install_swiftlint.sh
11+
12+
script:
13+
- pod lib lint PGNParser.podspec
14+
15+
- swiftlint
16+
17+
- xcodebuild test -workspace PGNParser.xcworkspace -scheme PGNParser-iOS -destination 'platform=iOS Simulator,OS=latest,name=iPhone 7'
18+
- xcodebuild test -workspace PGNParser.xcworkspace -scheme PGNParser-macOS -destination 'platform=macOS,arch=x86_64'
19+
- xcodebuild test -workspace PGNParser.xcworkspace -scheme PGNParser-tvOS -destination 'platform=tvOS Simulator,name=Apple TV 1080p'
20+
21+
- xcodebuild -workspace PGNParser.xcworkspace -scheme PGNParser-watchOS

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Changelog
2+
=========
3+
4+
Version 0.1.0
5+
-------------
6+
*Released 2017-06-15*
7+
8+
* Initial beta release for Draughts game string parsing.
9+
* Setup the basic project structure with Swiftlint and TravisCI.
10+
* Give the project targets for iOS, Mac, tvOS and watchOS.
11+
* Make the project available to Cocoapods, Carthage and the SPM.

LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright (c) 2017 Liam <l.flynn2@live.co.uk>
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.
20+
MIT License

PGNParser.podspec

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#
2+
# Be sure to run `pod lib lint PGNParser.podspec' to ensure this is a
3+
# valid spec before submitting.
4+
#
5+
# The podspec file for PGNParser. A functional parser for Portabe Game Notation.
6+
7+
Pod::Spec.new do |s|
8+
s.name = 'PGNParser'
9+
s.version = '0.1.0'
10+
s.summary = 'A simple way to parse Portable Game Notation into Swift objects.'
11+
s.description = <<-DESC
12+
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.
13+
DESC
14+
15+
s.homepage = 'https://github.com/tigerpixel/PGNParser'
16+
s.license = { :type => 'MIT', :file => 'LICENSE' }
17+
s.author = { 'Tigerpixel' => 'l.flynn2@live.co.uk' }
18+
s.source = { :git => 'https://github.com/tigerpixel/PGNParser.git', :tag => s.version.to_s }
19+
20+
s.requires_arc = true
21+
s.ios.deployment_target = '8.0'
22+
s.watchos.deployment_target = '2.0'
23+
s.osx.deployment_target = '10.9'
24+
s.tvos.deployment_target = '9.0'
25+
26+
s.source_files = 'Source/**/*.swift'
27+
28+
s.dependency 'Currier'
29+
s.dependency 'ParserCombinator'
30+
end

PGNParser.xcodeproj/project.pbxproj

Lines changed: 1030 additions & 31 deletions
Large diffs are not rendered by default.

PGNParser.xcodeproj/xcuserdata/liam.xcuserdatad/xcschemes/PGNParser.xcscheme renamed to PGNParser.xcodeproj/xcshareddata/xcschemes/PGNParser-iOS.xcscheme

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
BuildableIdentifier = "primary"
1717
BlueprintIdentifier = "0C07C2BE1E525E0F00A921A8"
1818
BuildableName = "PGNParser.framework"
19-
BlueprintName = "PGNParser"
19+
BlueprintName = "PGNParser-iOS"
2020
ReferencedContainer = "container:PGNParser.xcodeproj">
2121
</BuildableReference>
2222
</BuildActionEntry>
@@ -33,8 +33,8 @@
3333
<BuildableReference
3434
BuildableIdentifier = "primary"
3535
BlueprintIdentifier = "0C07C2C71E525E0F00A921A8"
36-
BuildableName = "PGNParserTests.xctest"
37-
BlueprintName = "PGNParserTests"
36+
BuildableName = "PGNParserTests-iOS.xctest"
37+
BlueprintName = "PGNParserTests-iOS"
3838
ReferencedContainer = "container:PGNParser.xcodeproj">
3939
</BuildableReference>
4040
</TestableReference>
@@ -44,7 +44,7 @@
4444
BuildableIdentifier = "primary"
4545
BlueprintIdentifier = "0C07C2BE1E525E0F00A921A8"
4646
BuildableName = "PGNParser.framework"
47-
BlueprintName = "PGNParser"
47+
BlueprintName = "PGNParser-iOS"
4848
ReferencedContainer = "container:PGNParser.xcodeproj">
4949
</BuildableReference>
5050
</MacroExpansion>
@@ -66,7 +66,7 @@
6666
BuildableIdentifier = "primary"
6767
BlueprintIdentifier = "0C07C2BE1E525E0F00A921A8"
6868
BuildableName = "PGNParser.framework"
69-
BlueprintName = "PGNParser"
69+
BlueprintName = "PGNParser-iOS"
7070
ReferencedContainer = "container:PGNParser.xcodeproj">
7171
</BuildableReference>
7272
</MacroExpansion>
@@ -84,7 +84,7 @@
8484
BuildableIdentifier = "primary"
8585
BlueprintIdentifier = "0C07C2BE1E525E0F00A921A8"
8686
BuildableName = "PGNParser.framework"
87-
BlueprintName = "PGNParser"
87+
BlueprintName = "PGNParser-iOS"
8888
ReferencedContainer = "container:PGNParser.xcodeproj">
8989
</BuildableReference>
9090
</MacroExpansion>
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0830"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "0C3F61BD1EB2715700D8BB32"
18+
BuildableName = "PGNParser.framework"
19+
BlueprintName = "PGNParser-macOS"
20+
ReferencedContainer = "container:PGNParser.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
<TestableReference
32+
skipped = "NO">
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "0C3F61C51EB2715700D8BB32"
36+
BuildableName = "PGNParserTests-macOS.xctest"
37+
BlueprintName = "PGNParserTests-macOS"
38+
ReferencedContainer = "container:PGNParser.xcodeproj">
39+
</BuildableReference>
40+
</TestableReference>
41+
</Testables>
42+
<MacroExpansion>
43+
<BuildableReference
44+
BuildableIdentifier = "primary"
45+
BlueprintIdentifier = "0C3F61BD1EB2715700D8BB32"
46+
BuildableName = "PGNParser.framework"
47+
BlueprintName = "PGNParser-macOS"
48+
ReferencedContainer = "container:PGNParser.xcodeproj">
49+
</BuildableReference>
50+
</MacroExpansion>
51+
<AdditionalOptions>
52+
</AdditionalOptions>
53+
</TestAction>
54+
<LaunchAction
55+
buildConfiguration = "Debug"
56+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
57+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
58+
launchStyle = "0"
59+
useCustomWorkingDirectory = "NO"
60+
ignoresPersistentStateOnLaunch = "NO"
61+
debugDocumentVersioning = "YES"
62+
debugServiceExtension = "internal"
63+
allowLocationSimulation = "YES">
64+
<MacroExpansion>
65+
<BuildableReference
66+
BuildableIdentifier = "primary"
67+
BlueprintIdentifier = "0C3F61BD1EB2715700D8BB32"
68+
BuildableName = "PGNParser.framework"
69+
BlueprintName = "PGNParser-macOS"
70+
ReferencedContainer = "container:PGNParser.xcodeproj">
71+
</BuildableReference>
72+
</MacroExpansion>
73+
<AdditionalOptions>
74+
</AdditionalOptions>
75+
</LaunchAction>
76+
<ProfileAction
77+
buildConfiguration = "Release"
78+
shouldUseLaunchSchemeArgsEnv = "YES"
79+
savedToolIdentifier = ""
80+
useCustomWorkingDirectory = "NO"
81+
debugDocumentVersioning = "YES">
82+
<MacroExpansion>
83+
<BuildableReference
84+
BuildableIdentifier = "primary"
85+
BlueprintIdentifier = "0C3F61BD1EB2715700D8BB32"
86+
BuildableName = "PGNParser.framework"
87+
BlueprintName = "PGNParser-macOS"
88+
ReferencedContainer = "container:PGNParser.xcodeproj">
89+
</BuildableReference>
90+
</MacroExpansion>
91+
</ProfileAction>
92+
<AnalyzeAction
93+
buildConfiguration = "Debug">
94+
</AnalyzeAction>
95+
<ArchiveAction
96+
buildConfiguration = "Release"
97+
revealArchiveInOrganizer = "YES">
98+
</ArchiveAction>
99+
</Scheme>
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0830"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "0C3F62031EB2717F00D8BB32"
18+
BuildableName = "PGNParser.framework"
19+
BlueprintName = "PGNParser-tvOS"
20+
ReferencedContainer = "container:PGNParser.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
<TestableReference
32+
skipped = "NO">
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "0C3F620B1EB2717F00D8BB32"
36+
BuildableName = "PGNParserTests-tvOS.xctest"
37+
BlueprintName = "PGNParserTests-tvOS"
38+
ReferencedContainer = "container:PGNParser.xcodeproj">
39+
</BuildableReference>
40+
</TestableReference>
41+
</Testables>
42+
<MacroExpansion>
43+
<BuildableReference
44+
BuildableIdentifier = "primary"
45+
BlueprintIdentifier = "0C3F62031EB2717F00D8BB32"
46+
BuildableName = "PGNParser.framework"
47+
BlueprintName = "PGNParser-tvOS"
48+
ReferencedContainer = "container:PGNParser.xcodeproj">
49+
</BuildableReference>
50+
</MacroExpansion>
51+
<AdditionalOptions>
52+
</AdditionalOptions>
53+
</TestAction>
54+
<LaunchAction
55+
buildConfiguration = "Debug"
56+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
57+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
58+
launchStyle = "0"
59+
useCustomWorkingDirectory = "NO"
60+
ignoresPersistentStateOnLaunch = "NO"
61+
debugDocumentVersioning = "YES"
62+
debugServiceExtension = "internal"
63+
allowLocationSimulation = "YES">
64+
<MacroExpansion>
65+
<BuildableReference
66+
BuildableIdentifier = "primary"
67+
BlueprintIdentifier = "0C3F62031EB2717F00D8BB32"
68+
BuildableName = "PGNParser.framework"
69+
BlueprintName = "PGNParser-tvOS"
70+
ReferencedContainer = "container:PGNParser.xcodeproj">
71+
</BuildableReference>
72+
</MacroExpansion>
73+
<AdditionalOptions>
74+
</AdditionalOptions>
75+
</LaunchAction>
76+
<ProfileAction
77+
buildConfiguration = "Release"
78+
shouldUseLaunchSchemeArgsEnv = "YES"
79+
savedToolIdentifier = ""
80+
useCustomWorkingDirectory = "NO"
81+
debugDocumentVersioning = "YES">
82+
<MacroExpansion>
83+
<BuildableReference
84+
BuildableIdentifier = "primary"
85+
BlueprintIdentifier = "0C3F62031EB2717F00D8BB32"
86+
BuildableName = "PGNParser.framework"
87+
BlueprintName = "PGNParser-tvOS"
88+
ReferencedContainer = "container:PGNParser.xcodeproj">
89+
</BuildableReference>
90+
</MacroExpansion>
91+
</ProfileAction>
92+
<AnalyzeAction
93+
buildConfiguration = "Debug">
94+
</AnalyzeAction>
95+
<ArchiveAction
96+
buildConfiguration = "Release"
97+
revealArchiveInOrganizer = "YES">
98+
</ArchiveAction>
99+
</Scheme>

0 commit comments

Comments
 (0)