add missing copyright headers to *.rs
This commit is contained in:
parent
e520e8df02
commit
28fdbd67ae
@ -1,3 +1,6 @@
|
|||||||
|
// Copyright: Ankitects Pty Ltd and contributors
|
||||||
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
// this build script simply exists so we can extend the link path
|
// this build script simply exists so we can extend the link path
|
||||||
// inside Bazel based on an env var, as we need to provide a custom
|
// inside Bazel based on an env var, as we need to provide a custom
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
// Copyright: Ankitects Pty Ltd and contributors
|
||||||
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
// Include auto-generated content
|
// Include auto-generated content
|
||||||
|
|
||||||
#![allow(clippy::all)]
|
#![allow(clippy::all)]
|
||||||
|
@ -37,7 +37,7 @@ for dirpath, dirnames, fnames in os.walk("."):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
for fname in fnames:
|
for fname in fnames:
|
||||||
for ext in ".py", ".ts":
|
for ext in ".py", ".ts", ".rs":
|
||||||
if fname.endswith(ext):
|
if fname.endswith(ext):
|
||||||
path = dir / fname
|
path = dir / fname
|
||||||
with open(path) as f:
|
with open(path) as f:
|
||||||
|
Loading…
Reference in New Issue
Block a user