add missing copyright headers to *.rs

This commit is contained in:
Damien Elmes 2021-04-13 18:59:16 +10:00
parent e520e8df02
commit 28fdbd67ae
3 changed files with 7 additions and 1 deletions

View File

@ -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() {
// 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

View File

@ -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
#![allow(clippy::all)]

View File

@ -37,7 +37,7 @@ for dirpath, dirnames, fnames in os.walk("."):
continue
for fname in fnames:
for ext in ".py", ".ts":
for ext in ".py", ".ts", ".rs":
if fname.endswith(ext):
path = dir / fname
with open(path) as f: