Support a configurable build directory (#5601)
This change adds a top-level getBuildDirectory func and funcs for android, aot, asset, ios build products. Developers may now add a "build-dir" mapping to their ~/.flutter_settings (JSON format) config file. Output directory is relative to the main flutter application directory. This change also changes the default build directory for iOS builds to a subdirectory of the configured build directory, 'build/ios' by default.
This commit is contained in:
@@ -65,7 +65,7 @@ BuildApp() {
|
||||
|
||||
AssertExists ${target_path}
|
||||
|
||||
local build_dir=${SYMROOT:-build}
|
||||
local build_dir=${FLUTTER_BUILD_DIR:-build}
|
||||
local local_engine_flag=""
|
||||
if [[ -n "$LOCAL_ENGINE" ]]; then
|
||||
local_engine_flag="--local-engine=$LOCAL_ENGINE"
|
||||
|
||||
Reference in New Issue
Block a user