Add metadata to Cargo.toml for building deb packages
This commit is contained in:
parent
e6a7ed31f6
commit
7c3c3f3231
1 changed files with 15 additions and 0 deletions
15
Cargo.toml
15
Cargo.toml
|
|
@ -40,3 +40,18 @@ structopt = "0.3"
|
|||
|
||||
[profile.release]
|
||||
lto = true
|
||||
|
||||
[package.metadata.deb]
|
||||
assets = [
|
||||
# TODO?
|
||||
# ["assets/man/mosaic.1", "usr/share/man/man1/mosaic.1", "644"],
|
||||
["target/release/mosaic", "usr/bin/mosaic", "755"],
|
||||
["LICENSE.md", "usr/share/doc/mosaic/", "644"],
|
||||
["GOVERNANCE.md", "usr/share/doc/mosaic/", "644"],
|
||||
["README.md", "usr/share/doc/mosaic/README", "644"],
|
||||
["assets/layouts/*", "/usr/share/mosaic/layouts/", "644"],
|
||||
["assets/plugins/*", "/usr/share/mosaic/plugins/", "644"],
|
||||
["assets/completions/mosaic.bash", "usr/share/bash-completion/completions/mosaic.bash", "644"],
|
||||
["assets/completions/mosaic.fish", "usr/share/fish/vendor_completions.d/mosaic.fish", "644"],
|
||||
["assets/completions/_mosaic", "usr/share/zsh/vendor-completions/_mosaic", "644"],
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue