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
7acae890
Commit
7acae890
authored
May 15, 2017
by
Danielle Tomlinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix linter warnings
parent
d0b43675
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
Rakefile
Rakefile
+1
-2
No files found.
Rakefile
View file @
7acae890
...
@@ -259,7 +259,7 @@ begin
...
@@ -259,7 +259,7 @@ begin
Dir
.
chdir
(
example
.
to_s
)
do
Dir
.
chdir
(
example
.
to_s
)
do
# TODO: we need to open the workspace in Xcode at least once, otherwise it might not contain schemes.
# TODO: we need to open the workspace in Xcode at least once, otherwise it might not contain schemes.
# The schemes do not seem to survive a SCM round-trip.
# The schemes do not seem to survive a SCM round-trip.
sh
"open *.xcworkspace"
sh
'open *.xcworkspace'
sleep
5
sleep
5
end
end
end
end
...
@@ -296,7 +296,6 @@ begin
...
@@ -296,7 +296,6 @@ begin
execute_command
"xcodebuild -workspace '
#{
workspace_path
}
' -scheme '
#{
scheme_name
}
' clean build"
execute_command
"xcodebuild -workspace '
#{
workspace_path
}
' -scheme '
#{
scheme_name
}
' clean build"
when
:ios
when
:ios
test_flag
=
(
scheme_name
.
start_with?
'Test'
)
?
'test'
:
''
test_flag
=
(
scheme_name
.
start_with?
'Test'
)
?
'test'
:
''
watch_project
=
scheme_name
.
start_with?
'watchOS'
execute_command
"xcodebuild -workspace '
#{
workspace_path
}
' -scheme '
#{
scheme_name
}
' clean build
#{
test_flag
}
ONLY_ACTIVE_ARCH=NO -destination 'platform=iOS Simulator,name=iPhone 7'"
execute_command
"xcodebuild -workspace '
#{
workspace_path
}
' -scheme '
#{
scheme_name
}
' clean build
#{
test_flag
}
ONLY_ACTIVE_ARCH=NO -destination 'platform=iOS Simulator,name=iPhone 7'"
else
else
...
...
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