Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
36fefd7b
Commit
36fefd7b
authored
Apr 15, 2014
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Rake] Simplify spec:ci task and ensure that the repos are up to date
parent
fd337553
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
Rakefile
Rakefile
+3
-9
No files found.
Rakefile
View file @
36fefd7b
...
@@ -145,20 +145,14 @@ namespace :spec do
...
@@ -145,20 +145,14 @@ namespace :spec do
#
#
desc
"Run all specs and build all examples"
desc
"Run all specs and build all examples"
task
:ci
=>
:unpack_fixture_tarballs
do
task
:ci
=>
:unpack_fixture_tarballs
do
title
'Running the specs'
sh
"bundle exec bacon
#{
specs
(
'**/*'
)
}
"
require
'pathname'
require
'pathname'
unless
Pathname
.
new
(
ENV
[
'HOME'
]
+
'/.cocoapods/repos/master'
).
exist?
title
'Ensuring specs repo is up to date'
title
'Ensuring specs repo is up to date'
unless
Pathname
.
new
(
ENV
[
'HOME'
]
+
'/.cocoapods/repos/master'
).
exist?
sh
"./bin/pod setup"
sh
"./bin/pod setup"
end
end
sh
"./bin/pod repo update"
title
'Running Integration tests'
Rake
::
Task
[
'spec:all'
].
invoke
sh
"bundle exec bacon spec/integration.rb"
title
'Running examples'
Rake
::
Task
[
'examples:build'
].
invoke
end
end
desc
"Rebuild all the fixture tarballs"
desc
"Rebuild all the fixture tarballs"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment