mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This reverts commit 72cacb40401c96dad9905cf2b180893ddfd0105d.
This commit is contained in:
parent
b9d9156fa6
commit
2efbc11b7a
@ -532,6 +532,7 @@ task:
|
||||
- ulimit -S -n 2048 # https://github.com/flutter/flutter/issues/2976
|
||||
- dart --enable-asserts dev/bots/test.dart
|
||||
- name: add2app-macos
|
||||
skip: true # https://github.com/flutter/flutter/issues/39507
|
||||
env:
|
||||
SHARD: add2app_test
|
||||
setup_xcpretty_script:
|
||||
|
||||
@ -142,13 +142,11 @@ BuildApp() {
|
||||
mkdir "${derived_dir}/engine"
|
||||
RunCommand cp -r -- "${flutter_podspec}" "${derived_dir}/engine"
|
||||
RunCommand cp -r -- "${flutter_framework}" "${derived_dir}/engine"
|
||||
# Make non-binary files read-only to discourage editing headers, but allow binary code-signing.
|
||||
RunCommand find "${derived_dir}/engine/Flutter.framework" -type f -exec grep -Il '.' {} \; | xargs chmod a-w
|
||||
RunCommand find "${derived_dir}/engine/Flutter.framework" -type f -exec chmod a-w "{}" \;
|
||||
else
|
||||
RunCommand rm -rf -- "${derived_dir}/Flutter.framework"
|
||||
RunCommand cp -r -- "${flutter_framework}" "${derived_dir}"
|
||||
# Make non-binary files read-only to discourage editing headers, but allow binary code-signing.
|
||||
RunCommand find "${derived_dir}/Flutter.framework" -type f -exec grep -Il '.' {} \; | xargs chmod a-w
|
||||
RunCommand find "${derived_dir}/Flutter.framework" -type f -exec chmod a-w "{}" \;
|
||||
fi
|
||||
|
||||
RunCommand pushd "${project_path}" > /dev/null
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user