Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c449c82
commit 81a6425
Showing
1 changed file
with
28 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "Slash" | ||
s.version = "0.1.2" | ||
s.summary = "A simple, extensible, language for styling attributed strings." | ||
s.description = <<-DESC | ||
A simple, extensible markup language for styling NSAttributedStrings. The language is similar in appearance to HTML, however the tag vocabulary and styles can be easily customized by passing a dictionary argument to the parser. | ||
DESC | ||
s.homepage = "https://github.com/chrisdevereux/Slash" | ||
s.license = { :type => 'MIT', :file => 'LICENCE' } | ||
s.author = { "Chris Devereux" => "devereux.chris@gmail.com" } | ||
s.source = { :git => "https://github.com/chrisdevereux/Slash.git", :tag => "0.1.2" } | ||
s.frameworks = 'CoreText' | ||
|
||
s.ios.deployment_target = '4.3' | ||
s.osx.deployment_target = '10.6' | ||
|
||
s.public_header_files = 'Slash/Slash.h', 'Slash/SLSMarkupParser.h', 'Slash/SLSErrors.h' | ||
|
||
s.subspec 'arc' do |ss| | ||
ss.source_files = 'Slash/SLSMarkupParser.m', 'Slash/SLSTaggedRange.m', 'Slash/*.h' | ||
ss.requires_arc = true | ||
end | ||
|
||
s.subspec 'no-arc' do |ss| | ||
ss.source_files = 'Slash/SLSTagParser.m', 'Slash/SLSTagLexer.gen.m', 'Slash/SLSTagParser.gen.m', 'Slash/*.h' | ||
ss.requires_arc = false | ||
end | ||
end |