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
1ca552a6
Commit
1ca552a6
authored
Feb 25, 2012
by
Luke Redpath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unpack the fixture tarballs on Travis as they are being used.
parent
67a79302
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
Rakefile
Rakefile
+12
-1
No files found.
Rakefile
View file @
1ca552a6
...
...
@@ -83,7 +83,7 @@ namespace :spec do
# For now we don't run the intgration spec, but it should be cleaned up so it can run on Travis.
desc
"Run the travis CI specs"
task
:travis
=>
:all
task
:travis
=>
[
:unpack_fixture_tarballs
,
:all
]
desc
"Rebuild all the fixture tarballs"
task
:rebuild_fixture_tarballs
do
...
...
@@ -93,6 +93,17 @@ namespace :spec do
sh
"cd
#{
File
.
dirname
(
tarball
)
}
&& rm
#{
basename
}
&& tar -zcf
#{
basename
}
#{
basename
[
0
..-
8
]
}
"
end
end
desc
"Unpacks all the fixture tarballs"
task
:unpack_fixture_tarballs
do
tarballs
=
FileList
[
'spec/fixtures/**/*.tar.gz'
]
tarballs
.
each
do
|
tarball
|
basename
=
File
.
basename
(
tarball
)
Dir
.
chdir
(
File
.
dirname
(
tarball
))
do
sh
"rm -rf
#{
basename
[
0
..-
8
]
}
&& tar zxf
#{
basename
}
"
end
end
end
end
namespace
:examples
do
...
...
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