mirror of
https://github.com/flutter/flutter
synced 2024-10-13 11:42:54 +00:00
4e1bfca847
Allows Windows builds to use the same structure and script as Linux builds now use, calling into tool_backend to manage copying resources to the project directory and building the bundle. Also switches from expecting name_update.bat to expecting flutter\exe_filename to be written during the build, as with the recent changes to the macOS build, to reduce the amount of boilerplate needed in a windows\ project directory.
10 lines
357 B
Batchfile
10 lines
357 B
Batchfile
:: Copyright 2019 The Chromium Authors. All rights reserved.
|
|
:: Use of this source code is governed by a BSD-style license that can be
|
|
:: found in the LICENSE file.
|
|
@echo off
|
|
|
|
set FLUTTER_BIN_DIR=%FLUTTER_ROOT%\bin
|
|
set DART_BIN_DIR=%FLUTTER_BIN_DIR%\cache\dart-sdk\bin
|
|
|
|
"%DART_BIN_DIR%\dart" "%FLUTTER_ROOT%\packages\flutter_tools\bin\tool_backend.dart" %*
|