forked from campaignmonitor/createsend-objectivec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
37 lines (30 loc) · 829 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
task :default => :test
desc 'Run tests'
task :test do
sh "xctool -project CreateSend.xcodeproj -scheme CreateSend clean build test"
end
desc 'Lint podspec'
task :lint do
sh "pod spec lint CreateSend.podspec --verbose"
end
namespace :docs do
desc 'Generate documentation'
task :generate => [:'docs:clean'] do
appledoc_options = [
'--output Documentation',
'--project-name CreateSend',
'--project-company \'Campaign Monitor\'',
'--company-id com.campaignmonitor',
'--keep-intermediate-files',
'--create-html',
'--no-repeat-first-par',
'--no-create-docset',
'--no-merge-categories',
'--verbose 3']
puts `appledoc #{appledoc_options.join(' ')} CreateSend/CS*.h`
end
desc 'Clean docs'
task :clean do
`rm -rf Documentation/*`
end
end