mirror of
https://github.com/flutter/flutter
synced 2024-08-27 20:10:11 +00:00
![Ian Hickson](/assets/img/avatar_default.png)
* Update project.pbxproj files to say Flutter rather than Chromium Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright. * Update the copyright notice checker to require a standard notice on all files * Update copyrights on Dart files. (This was a mechanical commit.) * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine. Some were already marked "The Flutter Authors", not clear why. Their dates have been normalized. Some were missing the blank line after the license. Some were randomly different in trivial ways for no apparent reason (e.g. missing the trailing period). * Clean up the copyrights in non-Dart files. (Manual edits.) Also, make sure templates don't have copyrights. * Fix some more ORGANIZATIONNAMEs
24 lines
635 B
Bash
Executable file
24 lines
635 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Copyright 2014 The Flutter Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
set -e
|
|
|
|
# This script is only meant to be run by the Cirrus CI system, not locally.
|
|
# It must be run from the root of the Flutter repo.
|
|
|
|
function error() {
|
|
echo "$@" 1>&2
|
|
}
|
|
|
|
function accept_android_licenses() {
|
|
yes "y" | flutter doctor --android-licenses > /dev/null 2>&1
|
|
}
|
|
|
|
echo "Flutter SDK directory is: $PWD"
|
|
|
|
# Accept licenses.
|
|
echo "Accepting Android licenses."
|
|
accept_android_licenses || (error "Accepting Android licenses failed." && false)
|