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
abcfe041
Commit
abcfe041
authored
May 17, 2014
by
Olivier Halligon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing Rakefile exception cases
parent
f43e428e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
Rakefile
Rakefile
+9
-5
No files found.
Rakefile
View file @
abcfe041
...
@@ -27,9 +27,11 @@ task :bootstrap, :use_bundle_dir? do |t, args|
...
@@ -27,9 +27,11 @@ task :bootstrap, :use_bundle_dir? do |t, args|
execute_command
"env XCODEPROJ_BUILD=1 bundle install"
execute_command
"env XCODEPROJ_BUILD=1 bundle install"
end
end
else
else
$stderr
.
puts
red
(
"[!] Please install the bundler gem manually:
\n
"
\
$stderr
.
puts
"
\033
[0;31m"
\
' $ [sudo] gem install bundler'
)
"[!] Please install the bundler gem manually:
\n
"
\
exit
1
' $ [sudo] gem install bundler'
\
"
\e
[0m"
exit
1
end
end
end
end
...
@@ -250,8 +252,10 @@ begin
...
@@ -250,8 +252,10 @@ begin
task
:default
=>
:spec
task
:default
=>
:spec
rescue
LoadError
rescue
LoadError
$stderr
.
puts
red
(
'[!] Some Rake tasks haven been disabled because the '
\
$stderr
.
puts
"
\033
[0;31m"
\
'environment couldn’t be loaded. Be sure to run `rake bootstrap` first.'
)
'[!] Some Rake tasks haven been disabled because the environment'
\
' couldn’t be loaded. Be sure to run `rake bootstrap` first.'
\
"
\e
[0m"
end
end
# Helpers
# Helpers
...
...
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