Skip to content

Commit db6a129

Browse files
committed
Automatically update copyright year for tool/generate-options.rb
1 parent cdb5326 commit db6a129

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/main/java/org/truffleruby/options/LanguageOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2020 Oracle and/or its affiliates. All rights reserved. This
2+
* Copyright (c) 2016, 2021 Oracle and/or its affiliates. All rights reserved. This
33
* code is released under a tri EPL/GPL/LGPL license. You can use it,
44
* redistribute it and/or modify it under the terms of the:
55
*

src/main/java/org/truffleruby/options/Options.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2020 Oracle and/or its affiliates. All rights reserved. This
2+
* Copyright (c) 2016, 2021 Oracle and/or its affiliates. All rights reserved. This
33
* code is released under a tri EPL/GPL/LGPL license. You can use it,
44
* redistribute it and/or modify it under the terms of the:
55
*

src/shared/java/org/truffleruby/shared/options/OptionsCatalog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2020 Oracle and/or its affiliates. All rights reserved. This
2+
* Copyright (c) 2016, 2021 Oracle and/or its affiliates. All rights reserved. This
33
* code is released under a tri EPL/GPL/LGPL license. You can use it,
44
* redistribute it and/or modify it under the terms of the:
55
*

tool/generate-options.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env ruby
22

3-
# Copyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.
3+
# Copyright (c) 2016, 2021 Oracle and/or its affiliates. All rights reserved.
44
# This code is released under a tri EPL/GPL/LGPL license. You can use it,
55
# redistribute it and/or modify it under the terms of the:
66
#
@@ -111,7 +111,7 @@ def parse_reference_defaults(default)
111111

112112
TEMPLATE = <<'JAVA'
113113
/*
114-
* Copyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved. This
114+
* Copyright (c) 2016, <%= Time.now.year %> Oracle and/or its affiliates. All rights reserved. This
115115
* code is released under a tri EPL/GPL/LGPL license. You can use it,
116116
* redistribute it and/or modify it under the terms of the:
117117
*
@@ -191,7 +191,7 @@ def parse_reference_defaults(default)
191191

192192
File.write('src/shared/java/org/truffleruby/shared/options/OptionsCatalog.java', ERB.new(<<JAVA).result)
193193
/*
194-
* Copyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved. This
194+
* Copyright (c) 2016, <%= Time.now.year %> Oracle and/or its affiliates. All rights reserved. This
195195
* code is released under a tri EPL/GPL/LGPL license. You can use it,
196196
* redistribute it and/or modify it under the terms of the:
197197
*

0 commit comments

Comments
 (0)