Skip to content

Commit 1bbe710

Browse files
committed
Symlink license files so they are included when publishing crates
Fixes #392 Verify that license files are symlinked correctly ``` ❯ sha512sum LICENSE */LICENSE e31022efad73ac9d9d9cd64b5030fd009610818413d5cec6ee98c82bdc3e71d6e9554f0a49c8b8401d7b63f8677fe392093527d6dbe5237b077314915e4ebaaf LICENSE e31022efad73ac9d9d9cd64b5030fd009610818413d5cec6ee98c82bdc3e71d6e9554f0a49c8b8401d7b63f8677fe392093527d6dbe5237b077314915e4ebaaf plotters-backend/LICENSE e31022efad73ac9d9d9cd64b5030fd009610818413d5cec6ee98c82bdc3e71d6e9554f0a49c8b8401d7b63f8677fe392093527d6dbe5237b077314915e4ebaaf plotters-bitmap/LICENSE e31022efad73ac9d9d9cd64b5030fd009610818413d5cec6ee98c82bdc3e71d6e9554f0a49c8b8401d7b63f8677fe392093527d6dbe5237b077314915e4ebaaf plotters-svg/LICENSE e31022efad73ac9d9d9cd64b5030fd009610818413d5cec6ee98c82bdc3e71d6e9554f0a49c8b8401d7b63f8677fe392093527d6dbe5237b077314915e4ebaaf plotters/LICENSE ``` Verify that license files are included ``` michel in plotters/plotters on  add-license is 📦 v0.3.5 via 🦀 v1.69.0 ⬢ [fedora-toolbox:38] ❯ cargo package --allow-dirty --no-verify Packaging plotters v0.3.5 (/home/michel/src/github/plotters-rs/plotters/plotters) Updating crates.io index Packaged 113 files, 686.6KiB (147.8KiB compressed) michel in plotters/plotters on  add-license is 📦 v0.3.5 via 🦀 v1.69.0 took 2m20s ⬢ [fedora-toolbox:38] ❯ tar tf ../target/package/plotters-0.3.5.crate | grep LICENSE plotters-0.3.5/LICENSE ``` Signed-off-by: Michel Alexandre Salim <[email protected]>
1 parent 165b3a3 commit 1bbe710

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

plotters-backend/LICENSE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE

plotters-bitmap/LICENSE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE

plotters-svg/LICENSE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE

plotters/LICENSE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE

0 commit comments

Comments
 (0)