mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-15 04:13:57 +08:00
add licensing headers (#27)
* add licensing headers * add licensing to run actions * rerun headers file * remove trailing white spaces
This commit is contained in:
1 parent
f183e03517
commit
5433f831ac
65 files changed
+880
No files matched your search
@@ -24,3 +24,6 @@ if __name__ == "__main__":
|
||||
|
||||
# Add checks for building documentation
|
||||
subprocess.call("cd docs/; make html; cd ../", shell=True)
|
||||
|
||||
# Add licensing to all pyrad files
|
||||
subprocess.call("./scripts/licensing/license_headers.sh", shell=True)
|
||||
@@ -0,0 +1,14 @@
|
||||
# Copyright 2022 The Plenoptix Team. All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
for i in $(find pyrad/ -name '*.py');
|
||||
do
|
||||
if ! grep -q Copyright $i
|
||||
then
|
||||
cat scripts/licensing/copyright.txt $i >$i.new && mv $i.new $i
|
||||
fi
|
||||
done
|
||||
Reference in new issue
Block a user