Skip to content

Commit 0ebe112

Browse files
committed
etc: add missing license boilerplates
1 parent fc1d655 commit 0ebe112

18 files changed

+268
-144
lines changed

src/etc/check-summary.py

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1-
#!/usr/bin/env python
2-
# xfail-license
1+
# Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
2+
# file at the top-level directory of this distribution and at
3+
# http://rust-lang.org/COPYRIGHT.
4+
#
5+
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
# option. This file may not be copied, modified, or distributed
9+
# except according to those terms.
310

411
import glob
512
import sys

src/etc/combine-tests.py

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1-
#!/usr/bin/env python
2-
# xfail-license
1+
# Copyright 2011-2013 The Rust Project Developers. See the COPYRIGHT
2+
# file at the top-level directory of this distribution and at
3+
# http://rust-lang.org/COPYRIGHT.
4+
#
5+
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
# option. This file may not be copied, modified, or distributed
9+
# except according to those terms.
310

4-
# this combines all the working run-pass tests into a single large crate so we
11+
# This combines all the working run-pass tests into a single large crate so we
512
# can run it "fast": spawning zillions of windows processes is our major build
613
# bottleneck (and it doesn't hurt to run faster on other platforms as well).
714

src/etc/copy-runtime-deps.py

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1-
#!/usr/bin/env python
2-
# xfail-license
1+
# Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
2+
# file at the top-level directory of this distribution and at
3+
# http://rust-lang.org/COPYRIGHT.
4+
#
5+
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
# option. This file may not be copied, modified, or distributed
9+
# except according to those terms.
310

4-
# Copies Rust runtime dependencies to the specified directory
11+
# Copies Rust runtime dependencies to the specified directory.
512

613
import snapshot, sys, os, shutil
714

src/etc/extract-tests.py

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
1-
# xfail-license
2-
# -*- coding: utf-8 -*-
1+
# Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
2+
# file at the top-level directory of this distribution and at
3+
# http://rust-lang.org/COPYRIGHT.
4+
#
5+
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
# option. This file may not be copied, modified, or distributed
9+
# except according to those terms.
10+
311
"""
412
Script for extracting compilable fragments from markdown documentation. See
513
prep.js for a description of the format recognized by this tool. Expects

src/etc/extract_grammar.py

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1-
#!/usr/bin/env python
2-
# xfail-license
1+
# Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
2+
# file at the top-level directory of this distribution and at
3+
# http://rust-lang.org/COPYRIGHT.
4+
#
5+
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
# option. This file may not be copied, modified, or distributed
9+
# except according to those terms.
310

411
# This script is for extracting the grammar from the rust docs.
512

src/etc/generate-deriving-span-tests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# xfail-license
2+
#
33
# Copyright 2013 The Rust Project Developers. See the COPYRIGHT
44
# file at the top-level directory of this distribution and at
55
# http://rust-lang.org/COPYRIGHT.

src/etc/generate-keyword-tests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# xfail-license
2+
#
33
# Copyright 2013 The Rust Project Developers. See the COPYRIGHT
44
# file at the top-level directory of this distribution and at
55
# http://rust-lang.org/COPYRIGHT.

src/etc/get-snapshot.py

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1-
#!/usr/bin/env python
2-
# xfail-license
1+
# Copyright 2011-2013 The Rust Project Developers. See the COPYRIGHT
2+
# file at the top-level directory of this distribution and at
3+
# http://rust-lang.org/COPYRIGHT.
4+
#
5+
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
# option. This file may not be copied, modified, or distributed
9+
# except according to those terms.
310

411
import os, tarfile, re, shutil, sys
512
from snapshot import *

src/etc/latest-unix-snaps.py

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
#!/usr/bin/env python
2-
# xfail-license
2+
#
3+
# Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
4+
# file at the top-level directory of this distribution and at
5+
# http://rust-lang.org/COPYRIGHT.
6+
#
7+
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
8+
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
9+
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
10+
# option. This file may not be copied, modified, or distributed
11+
# except according to those terms.
312

413
import os, tarfile, hashlib, re, shutil, sys
514
from snapshot import *

src/etc/make-snapshot.py

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1-
#!/usr/bin/env python
2-
# xfail-license
1+
# Copyright 2011-2013 The Rust Project Developers. See the COPYRIGHT
2+
# file at the top-level directory of this distribution and at
3+
# http://rust-lang.org/COPYRIGHT.
4+
#
5+
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
# option. This file may not be copied, modified, or distributed
9+
# except according to those terms.
310

411
import snapshot, sys
512

src/etc/maketest.py

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
# xfail-license
1+
# Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
2+
# file at the top-level directory of this distribution and at
3+
# http://rust-lang.org/COPYRIGHT.
4+
#
5+
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
# option. This file may not be copied, modified, or distributed
9+
# except according to those terms.
210

311
import subprocess
412
import os

src/etc/mirror-all-snapshots.py

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
#!/usr/bin/env python
2-
# xfail-license
2+
#
3+
# Copyright 2011-2013 The Rust Project Developers. See the COPYRIGHT
4+
# file at the top-level directory of this distribution and at
5+
# http://rust-lang.org/COPYRIGHT.
6+
#
7+
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
8+
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
9+
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
10+
# option. This file may not be copied, modified, or distributed
11+
# except according to those terms.
312

413
import os, tarfile, hashlib, re, shutil
514
from snapshot import *

src/etc/mklldeps.py

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
# xfail-license
1+
# Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
2+
# file at the top-level directory of this distribution and at
3+
# http://rust-lang.org/COPYRIGHT.
4+
#
5+
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
# option. This file may not be copied, modified, or distributed
9+
# except according to those terms.
210

311
import os
412
import sys

0 commit comments

Comments
 (0)