-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
When a repository uses a mix of different licenses for different parts/directories (BUSL or MPL), then it is currently necessary to run copywrite in those nested directories in order for it to notice those nested directories.
For example, Terraform uses the following script to work around this limitation:
directories=$(find . -type f -name '.copywrite.hcl' -execdir pwd \;)
for dir in $directories; do
cd $dir && go run github.com/hashicorp/copywrite headers
doneIt would be great if this could be built into the tool, so we would not have to maintain this shell wrapper.
Metadata
Metadata
Assignees
Labels
No labels