Last active
August 29, 2015 13:59
-
-
Save tonyarnold/10693715 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Pod::Spec.new do |s| | |
s.name = 'INAppStoreWindow' | |
s.version = '1.4dev' | |
s.summary = 'Mac App Store style NSWindow subclass.' | |
s.homepage = 'https://github.com/indragiek/INAppStoreWindow' | |
s.author = { 'Indragie Karunaratne' => '[email protected]' } | |
s.source = { :git => 'https://github.com/indragiek/INAppStoreWindow.git', :branch => 'master' } #:tag => "v#{s.version}" } | |
s.platform = :osx | |
s.requires_arc = true | |
s.license = { :type => 'BSD', :text => 'INAppStoreWindow is licensed under the BSD license.'} | |
default_subspec = 'INAppStoreWindow/Core' | |
s.subspec 'Core' do |core| | |
core.source_files = 'INAppStoreWindow/*.{h,m}' | |
core.exclude_files = 'Extensions/**' | |
core.requires_arc = true | |
end | |
s.subspec 'Swizzling' do |swizzle| | |
swizzle.dependency 'INAppStoreWindow/Core' | |
swizzle.source_files = 'Extensions/INAppStoreWindowSwizzling.{c,h}' | |
swizzle.header_dir = 'INAppStoreWindow' | |
swizzle.requires_arc = true | |
end | |
s.subspec 'CoreUIRenderer' do |coreui| | |
coreui.dependency 'INAppStoreWindow/Swizzling' | |
coreui.source_files = 'Extensions/INTitlebarView+CoreUIRenderer.{m,h}' | |
coreui.header_dir = 'INAppStoreWindow' | |
coreui.requires_arc = true | |
end | |
s.subspec 'NSDocumentFixes' do |docfixes| | |
docfixes.dependency 'INAppStoreWindow/Swizzling' | |
docfixes.source_files = 'Extensions/NSDocument+INAppStoreWindowFixes.{m,h}' | |
docfixes.header_dir = 'INAppStoreWindow' | |
docfixes.requires_arc = true | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@indragiek when you're ready to release what's in
master
, use this (but be sure to set the version and remove the:branch => 'master'
and replace with what's in the trailing comment on that line).