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
e5ea947d
Commit
e5ea947d
authored
Mar 04, 2012
by
Eloy Duran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Shuffle spec files on each run and make them green on Travis.
parent
580c52b0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
Rakefile
Rakefile
+7
-3
dependency.rb
lib/cocoapods/dependency.rb
+0
-1
command_spec.rb
spec/functional/command_spec.rb
+2
-0
No files found.
Rakefile
View file @
e5ea947d
...
...
@@ -56,14 +56,18 @@ namespace :ext do
end
namespace
:spec
do
def
specs
(
dir
)
FileList
[
"spec/
#{
dir
}
/*_spec.rb"
].
shuffle
.
join
(
' '
)
end
desc
"Run the unit specs"
task
:unit
do
sh
"bacon
spec/unit/*_spec.rb spec/unit/**/*_spec.rb
-q"
sh
"bacon
#{
specs
(
'unit/**'
)
}
-q"
end
desc
"Run the functional specs"
task
:functional
=>
"ext:cleanbuild"
do
sh
"bacon
spec/functional/*_spec.rb
"
sh
"bacon
#{
specs
(
'functional/**'
)
}
"
end
desc
"Run the integration spec"
...
...
@@ -72,7 +76,7 @@ namespace :spec do
end
task
:all
=>
"ext:cleanbuild"
do
sh
"bacon
#{
FileList
[
'spec/**/*_spec.rb'
].
join
(
'
'
)
}
"
sh
"bacon
#{
specs
(
'**
'
)
}
"
end
desc
"Run all specs and build all examples"
...
...
lib/cocoapods/dependency.rb
View file @
e5ea947d
...
...
@@ -176,7 +176,6 @@ module Pod
end
def
description
# TODO did we have a version number here too before?
"from `
#{
@params
[
:podspec
]
}
'"
end
end
...
...
spec/functional/command_spec.rb
View file @
e5ea947d
...
...
@@ -54,6 +54,8 @@ describe "Pod::Command" do
end
before
do
Pod
::
Source
.
reset!
Pod
::
Spec
::
Set
.
reset!
config
.
repos_dir
=
fixture
(
'spec-repos'
)
end
...
...
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