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
5ae4c168
Commit
5ae4c168
authored
Jun 08, 2016
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5486 from benasher44/basher_rake_submodule_check
Added rake task to check submodules
parents
9969b1db
31e2e4b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
Rakefile
Rakefile
+9
-1
No files found.
Rakefile
View file @
5ae4c168
...
...
@@ -30,6 +30,14 @@ begin
title
'Building the gem'
end
task
:check_submodules
do
title
'Ensuring submodules are initialized'
submodule_help_msg
=
'Run git submodule update --init --recursive to ensure submodules are initialized'
raise
submodule_help_msg
if
`git submodule status`
.
split
(
"
\n
"
).
any?
do
|
line
|
line
.
start_with?
'-'
end
end
require
'bundler/gem_tasks'
require
'bundler/setup'
...
...
@@ -287,7 +295,7 @@ begin
#-----------------------------------------------------------------------------#
desc
'Run all specs'
task
:spec
=>
'spec:all'
task
:spec
=>
[
:check_submodules
,
'spec:all'
]
task
:default
=>
:spec
...
...
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