Skip to content

Commit 53a5da1

Browse files
committed
Updating podspec and publishing mechanism
1 parent 78d866e commit 53a5da1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Objection.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Pod::Spec.new do |s|
66
s.source = { :git => 'https://github.com/atomicobject/objection.git', :tag => "#{s.version}" }
77
s.homepage = 'http://www.objection-framework.org'
88
s.source_files = 'Source'
9-
s.license = "https://github.com/atomicobject/objection/blob/master/LICENSE"
9+
s.license = { :type => "MIT" }
1010
s.requires_arc = true
1111

1212
s.ios.deployment_target = '7.0'

Rakefile

+5-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,11 @@ task :build_all do
6464
system_or_exit(%Q[set -o pipefail; #{xcodebuild_executable} -project #{PROJECT_NAME}.xcodeproj -alltargets -configuration #{CONFIGURATION} build | xcpretty -c], stdout)
6565
end
6666

67-
task :publish do
68-
system_or_exit %Q[pod trunk publish Objection.podspec --allow-warnings]
67+
namespace :pod do
68+
desc "Publish CocoaPod"
69+
task :publish do
70+
system_or_exit %Q[pod trunk push Objection.podspec --allow-warnings]
71+
end
6972
end
7073

7174

0 commit comments

Comments
 (0)