-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from ypopovych/master
Latest Swift support + podspec
- Loading branch information
Showing
14 changed files
with
95 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
github "crossroadlabs/CDiscount" ~> 0.1 | ||
github "crossroadlabs/CDiscount" ~> 2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "Markdown" | ||
s.version = "1.0.0-alpha.2" | ||
s.summary = "Full markdown support for Swift - wrapper over Discount (this actually is what GitHub uses deep down)" | ||
s.homepage = "https://github.com/crossroadlabs/Markdown" | ||
s.license = { :type => 'LGPL', :file => 'LICENSE.LESSER.txt' } | ||
s.authors = { 'Daniel Leping' => '[email protected]' } | ||
s.source = { :git => "https://github.com/crossroadlabs/Markdown.git", :tag => "#{s.version}" } | ||
|
||
s.ios.deployment_target = '8.0' | ||
s.osx.deployment_target = '10.10' | ||
s.tvos.deployment_target = '9.0' | ||
s.watchos.deployment_target = '2.0' | ||
|
||
s.source_files = 'Sources/Markdown/*.swift' | ||
s.frameworks = 'Foundation' | ||
|
||
s.requires_arc = true | ||
|
||
s.dependency 'CDiscount', '~> 2.2' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
import XCTest | ||
|
||
@testable import Markdowntest | ||
import MarkdownTests | ||
|
||
XCTMain([ | ||
MarkdownTests(), | ||
]) | ||
var tests = [XCTestCaseEntry]() | ||
|
||
tests += MarkdownTests.allTests() | ||
|
||
XCTMain(tests) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import XCTest | ||
|
||
#if os(Linux) | ||
public func allTests() -> [XCTestCaseEntry] { | ||
return [ | ||
testCase(MarkdownTests.allTests) | ||
] | ||
} | ||
#endif |