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
907fdd1b
Commit
907fdd1b
authored
Feb 10, 2012
by
Luke Redpath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Need to build the xcodeproj native extension before running unit specs.
parent
c821caaf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
Rakefile
Rakefile
+20
-1
No files found.
Rakefile
View file @
907fdd1b
...
@@ -82,9 +82,28 @@ namespace :gem do
...
@@ -82,9 +82,28 @@ namespace :gem do
end
end
end
end
namespace
:ext
do
EXT_DIR
=
"./external/Xcodeproj/ext/xcodeproj"
task
:clean
do
Dir
.
chdir
(
EXT_DIR
)
do
sh
"rm -f Makefile *.o *.bundle"
end
end
task
:build
do
Dir
.
chdir
(
EXT_DIR
)
do
ruby
"extconf.rb"
sh
"make"
end
end
task
:cleanbuild
=>
[
:clean
,
:build
]
end
namespace
:spec
do
namespace
:spec
do
desc
"Run the unit specs"
desc
"Run the unit specs"
task
:unit
do
task
:unit
=>
"ext:cleanbuild"
do
sh
"bacon spec/unit/**/*_spec.rb"
sh
"bacon spec/unit/**/*_spec.rb"
end
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