Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
31c8370e
Commit
31c8370e
authored
Aug 07, 2015
by
Ian Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add the ability to specify a path to the build
directory to support using sky_tool with local builds.
parent
dec9d1f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
sky_tool
packages/flutter/lib/sky_tool
+5
-1
No files found.
packages/flutter/lib/sky_tool
View file @
31c8370e
...
...
@@ -128,6 +128,7 @@ class StartSky(object):
start_parser
.
add_argument
(
'--install'
,
action
=
'store_true'
)
start_parser
.
add_argument
(
'--poke'
,
action
=
'store_true'
)
start_parser
.
add_argument
(
'--checked'
,
action
=
'store_true'
)
start_parser
.
add_argument
(
'--build_path'
,
type
=
str
)
start_parser
.
add_argument
(
'project_or_path'
,
nargs
=
'?'
,
type
=
str
,
default
=
'.'
)
start_parser
.
set_defaults
(
func
=
self
.
run
)
...
...
@@ -178,7 +179,10 @@ class StartSky(object):
"exist to locate
%
s."
\
%
(
os
.
path
.
basename
(
__file__
),
APK_NAME
))
return
2
apk_path
=
os
.
path
.
join
(
APK_DIR
,
APK_NAME
)
if
args
.
build_path
is
not
None
:
apk_path
=
os
.
path
.
join
(
args
.
build_path
,
'apks'
,
APK_NAME
)
else
:
apk_path
=
os
.
path
.
join
(
APK_DIR
,
APK_NAME
)
if
not
os
.
path
.
exists
(
apk_path
):
logging
.
error
(
"'
%
s' does not exist?"
%
apk_path
)
return
2
...
...
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