Skip to content

Commit

Permalink
made licenseck.py work for year substitutions
Browse files Browse the repository at this point in the history
  • Loading branch information
lifthrasiir committed Feb 14, 2013
1 parent 6d98ca9 commit 5336bf6
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions src/etc/licenseck.py
Expand Up @@ -8,7 +8,8 @@
# option. This file may not be copied, modified, or distributed
# except according to those terms.

license0 = """// Copyright 2012-2013 The Rust Project Developers. See the
license0 = """\
// Copyright 2012-2013 The Rust Project Developers. See the
// COPYRIGHT file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
Expand All @@ -19,7 +20,8 @@
// except according to those terms.
"""

license1 = """// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
license1 = """\
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
Expand All @@ -30,7 +32,8 @@
// except according to those terms.
"""

license2 = """// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
license2 = """\
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
Expand All @@ -41,7 +44,8 @@
// except according to those terms.
"""

license3 = """# Copyright 2013 The Rust Project Developers. See the COPYRIGHT
license3 = """\
# Copyright 2013 The Rust Project Developers. See the COPYRIGHT
# file at the top-level directory of this distribution and at
# http://rust-lang.org/COPYRIGHT.
#
Expand All @@ -52,7 +56,19 @@
# except according to those terms.
"""

licenses = [license0, license1, license2, license3]
license4 = """\
// Copyright 2012-2013 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.
"""

licenses = [license0, license1, license2, license3, license4]

exceptions = [
"rt/rust_android_dummy.cpp", # BSD, chromium
Expand Down

5 comments on commit 5336bf6

@bors
Copy link
Contributor

@bors bors commented on 5336bf6 Feb 15, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from catamorphism
at lifthrasiir@5336bf6

@bors
Copy link
Contributor

@bors bors commented on 5336bf6 Feb 15, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging lifthrasiir/rust/comment-exemptions = 5336bf6 into auto

@bors
Copy link
Contributor

@bors bors commented on 5336bf6 Feb 15, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lifthrasiir/rust/comment-exemptions = 5336bf6 merged ok, testing candidate = bf27352

@bors
Copy link
Contributor

@bors bors commented on 5336bf6 Feb 15, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 5336bf6 Feb 15, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding incoming to auto = bf27352

Please sign in to comment.