Skip to content

Commit

Permalink
Symlink license file to each crate directory (#734)
Browse files Browse the repository at this point in the history
This allows them to be picked up by `cargo package` so the license text
is included in the distributed crate.

```
trustfall on  add-license via 🦀 v1.80.1
⬢ [fedora-packaging] ❯ for crate in trustfall*; cd $crate; echo $crate; cargo package --list | grep LICENSE.txt; cd -; end
trustfall
    Updating crates.io index
LICENSE.txt
trustfall_core
LICENSE.txt
trustfall_derive
LICENSE.txt
trustfall_filetests_macros
LICENSE.txt
trustfall_stubgen
warning: readme `../README.md` appears to be a path outside of the package, but there is already a file named `README.md` in the root of the package. The archived crate will contain the copy in the root of the package. Update the readme to point to the path relative to the root of the package to remove this warning.
LICENSE.txt
trustfall_testbin
warning: manifest has no description, license, license-file, documentation, homepage or repository.
See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
LICENSE.txt
trustfall_wasm
warning: manifest has no description, license, license-file, documentation, homepage or repository.
See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
LICENSE.txt
```

Signed-off-by: Michel Lind <[email protected]>
  • Loading branch information
michel-slm authored Jan 29, 2025
1 parent d6665ef commit a13173b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions trustfall/LICENSE.txt
1 change: 1 addition & 0 deletions trustfall_core/LICENSE.txt
1 change: 1 addition & 0 deletions trustfall_derive/LICENSE.txt
1 change: 1 addition & 0 deletions trustfall_filetests_macros/LICENSE.txt
1 change: 1 addition & 0 deletions trustfall_stubgen/LICENSE.txt
1 change: 1 addition & 0 deletions trustfall_testbin/LICENSE.txt
1 change: 1 addition & 0 deletions trustfall_wasm/LICENSE.txt

0 comments on commit a13173b

Please sign in to comment.