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
9510ea91
Commit
9510ea91
authored
Sep 01, 2015
by
Ian Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log a warning when developers are using a dev build of the sky package.
parent
e2f78a98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
sky_tool
packages/flutter/lib/sky_tool
+3
-0
No files found.
packages/flutter/lib/sky_tool
View file @
9510ea91
...
...
@@ -998,6 +998,9 @@ class SkyShellRunner(object):
def
main
(
self
):
logging
.
basicConfig
(
format
=
'
%(levelname)
s:
%(message)
s'
,
level
=
logging
.
WARNING
)
real_path
=
os
.
path
.
realpath
(
__file__
)
if
re
.
match
(
r'.*src\/sky\/packages\/sky\/'
,
real_path
)
is
not
None
:
logging
.
warning
(
'Using overridden sky package located at '
+
os
.
path
.
dirname
(
os
.
path
.
dirname
(
real_path
)))
parser
=
argparse
.
ArgumentParser
(
description
=
'Sky App Runner'
)
parser
.
add_argument
(
'--verbose'
,
dest
=
'verbose'
,
action
=
'store_true'
,
...
...
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