Make module run script names unique (#60228)

This commit is contained in:
Jenn Magder
2020-06-24 16:52:01 -07:00
committed by GitHub
parent 5cfcae004a
commit 0486cebd29
4 changed files with 70 additions and 52 deletions

View File

@@ -99,7 +99,7 @@ def install_flutter_application_pod(flutter_application_path)
pod '{{projectName}}', :path => relative.to_s, :inhibit_warnings => true
flutter_export_environment_path = File.join('${SRCROOT}', relative, 'flutter_export_environment.sh');
script_phase :name => 'Run Flutter Build Script',
script_phase :name => 'Run Flutter Build {{projectName}} Script',
:script => "set -e\nset -u\nsource \"#{flutter_export_environment_path}\"\n\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/xcode_backend.sh build",
:input_files => [
File.join('${SRCROOT}', flutter_application_path, '.metadata'),