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
bf9bbcb4
Commit
bf9bbcb4
authored
Feb 07, 2017
by
Michael Goderbauer
Committed by
GitHub
Feb 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Honor %FLUTTER_TOOL_ARGS% on Windows (#7929)
parent
27dc043a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
flutter.bat
bin/flutter.bat
+5
-2
No files found.
bin/flutter.bat
View file @
bf9bbcb4
...
...
@@ -33,6 +33,9 @@ IF NOT EXIST "%flutter_root%\.git" (
EXIT /B
)
REM To debug the tool, you can uncomment the following line to enable checked mode and set an observatory port:
REM SET FLUTTER_TOOL_ARGS="--observe=65432 --checked"
PUSHD "%flutter_root%"
FOR /f %%r IN ('git rev-parse HEAD') DO SET revision=%%r
POPD
...
...
@@ -67,10 +70,10 @@ GOTO after_snapshot
:after_snapshot
CALL "%dart%" "%snapshot_path%" %*
CALL "%dart%"
%FLUTTER_TOOL_ARGS%
"%snapshot_path%" %*
REM The VM exits with code 253 if the snapshot version is out-of-date.
IF /I "%ERRORLEVEL%" EQU "253" (
CALL "%dart%" --snapshot="%snapshot_path%" --packages="%flutter_tools_dir%\.packages" "%script_path%"
CALL "%dart%" "%snapshot_path%" %*
CALL "%dart%"
%FLUTTER_TOOL_ARGS%
"%snapshot_path%" %*
)
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