diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2018-10-06 09:23:54 -0700 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2018-10-06 09:43:08 -0700 |
| commit | 23e5e24f52c433be9636d1955e68f61e26beb9dc (patch) | |
| tree | bc15ee2083ea174ff1657f1e04bf750f1661935e | |
| parent | e9c025ea70f9297836d62e0f0c959b9359a8035a (diff) | |
| download | rust-23e5e24f52c433be9636d1955e68f61e26beb9dc.tar.gz rust-23e5e24f52c433be9636d1955e68f61e26beb9dc.zip | |
Add license header to other files
| -rwxr-xr-x | .github/deploy.sh | 12 | ||||
| -rwxr-xr-x | ci/base-tests.sh | 11 | ||||
| -rwxr-xr-x | ci/integration-tests.sh | 10 | ||||
| -rwxr-xr-x | pre_publish.sh | 11 | ||||
| -rwxr-xr-x | util/cov.sh | 11 | ||||
| -rwxr-xr-x | util/export.py | 12 | ||||
| -rw-r--r-- | util/lintlib.py | 10 | ||||
| -rwxr-xr-x | util/update_lints.py | 12 |
8 files changed, 89 insertions, 0 deletions
diff --git a/.github/deploy.sh b/.github/deploy.sh index 1d206e61167..11d0b2d2a85 100755 --- a/.github/deploy.sh +++ b/.github/deploy.sh @@ -1,4 +1,16 @@ #!/bin/bash + +# Copyright 2014-2018 The Rust Project Developers. See the COPYRIGHT +# file at the top-level directory of this distribution and at +# http://rust-lang.org/COPYRIGHT. +# +# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. + + # Automatically deploy on gh-pages set -ex diff --git a/ci/base-tests.sh b/ci/base-tests.sh index 2358c8fe2ed..ebf4a127cdc 100755 --- a/ci/base-tests.sh +++ b/ci/base-tests.sh @@ -1,3 +1,14 @@ +# Copyright 2014-2018 The Rust Project Developers. See the COPYRIGHT +# file at the top-level directory of this distribution and at +# http://rust-lang.org/COPYRIGHT. +# +# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. + + set -ex echo "Running clippy base tests" diff --git a/ci/integration-tests.sh b/ci/integration-tests.sh index 18b91f6eae0..9019a6830e6 100755 --- a/ci/integration-tests.sh +++ b/ci/integration-tests.sh @@ -1,3 +1,13 @@ +# Copyright 2014-2018 The Rust Project Developers. See the COPYRIGHT +# file at the top-level directory of this distribution and at +# http://rust-lang.org/COPYRIGHT. +# +# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. + set -x rm ~/.cargo/bin/cargo-clippy cargo install --force --path . diff --git a/pre_publish.sh b/pre_publish.sh index 3602f671e3d..fc7ae212fcf 100755 --- a/pre_publish.sh +++ b/pre_publish.sh @@ -1,5 +1,16 @@ #!/bin/bash +# Copyright 2014-2018 The Rust Project Developers. See the COPYRIGHT +# file at the top-level directory of this distribution and at +# http://rust-lang.org/COPYRIGHT. +# +# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. + + set -e ./util/update_lints.py diff --git a/util/cov.sh b/util/cov.sh index 3f9a6b06f72..d927a5cfcd0 100755 --- a/util/cov.sh +++ b/util/cov.sh @@ -1,5 +1,16 @@ #!/usr/bin/bash +# Copyright 2014-2018 The Rust Project Developers. See the COPYRIGHT +# file at the top-level directory of this distribution and at +# http://rust-lang.org/COPYRIGHT. +# +# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. + + # This run `kcov` on Clippy. The coverage report will be at # `./target/cov/index.html`. # `compile-test` is special. `kcov` does not work directly on it so these files diff --git a/util/export.py b/util/export.py index 5419624d48e..d8598ed8037 100755 --- a/util/export.py +++ b/util/export.py @@ -1,4 +1,16 @@ #!/usr/bin/env python + +# Copyright 2014-2018 The Rust Project Developers. See the COPYRIGHT +# file at the top-level directory of this distribution and at +# http://rust-lang.org/COPYRIGHT. +# +# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. + + # Build the gh-pages import re diff --git a/util/lintlib.py b/util/lintlib.py index c386a94b18b..61090abc138 100644 --- a/util/lintlib.py +++ b/util/lintlib.py @@ -1,3 +1,13 @@ +# Copyright 2014-2018 The Rust Project Developers. See the COPYRIGHT +# file at the top-level directory of this distribution and at +# http://rust-lang.org/COPYRIGHT. +# +# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. + # Common utils for the several housekeeping scripts. import os diff --git a/util/update_lints.py b/util/update_lints.py index b34dad73f70..2e1bd98050d 100755 --- a/util/update_lints.py +++ b/util/update_lints.py @@ -1,4 +1,16 @@ #!/usr/bin/env python + +# Copyright 2014-2018 The Rust Project Developers. See the COPYRIGHT +# file at the top-level directory of this distribution and at +# http://rust-lang.org/COPYRIGHT. +# +# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +# option. This file may not be copied, modified, or distributed +# except according to those terms. + + # Generate a Markdown table of all lints, and put it in README.md. # With -n option, only print the new table to stdout. # With -c option, print a warning and set exit status to 1 if a file would be |
