mirror of
https://github.com/zhigang1992/MagicalRecord.git
synced 2026-01-12 17:32:18 +08:00
19
MagicalRecord.podspec
Normal file
19
MagicalRecord.podspec
Normal file
@@ -0,0 +1,19 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'MagicalRecord'
|
||||
s.version = '1.7.1'
|
||||
s.license = 'MIT'
|
||||
s.summary = 'Super Awesome Easy Fetching for Core Data 1!!!11!!!!1! '
|
||||
s.homepage = 'http://github.com/magicalpanda/MagicalRecord'
|
||||
s.author = { 'Saul Mora' => 'saul@magicalpanda.com' }
|
||||
s.source = { :git => 'http://github.com/magicalpanda/MagicalRecord.git', :tag => '1.7.1' }
|
||||
s.description = 'Handy fetching, threading and data import helpers to make Core Data a little easier to use.'
|
||||
s.source_files = 'Source/**/*.{h,m}'
|
||||
s.framework = 'CoreData'
|
||||
|
||||
def s.post_install(target)
|
||||
prefix_header = config.project_pods_root + target.prefix_header_filename
|
||||
prefix_header.open('a') do |file|
|
||||
file.puts(%{#ifdef __OBJC__\n#define MR_SHORTHAND 1\n#import "CoreData+MagicalRecord.h"\n#endif})
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user