Merge pull request #151 from mosaic-org/add-cargo-metadata
feat(metadata): Add metadata to Cargo.toml for building deb packages
This commit is contained in:
commit
5c043d063d
1 changed files with 16 additions and 0 deletions
16
Cargo.toml
16
Cargo.toml
|
|
@ -40,3 +40,19 @@ structopt = "0.3"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
lto = true
|
lto = true
|
||||||
|
|
||||||
|
[package.metadata.deb]
|
||||||
|
depends = "$auto"
|
||||||
|
license-file = ["LICENSE.md", "4"]
|
||||||
|
assets = [
|
||||||
|
# TODO?
|
||||||
|
# ["assets/man/mosaic.1", "usr/share/man/man1/mosaic.1", "644"],
|
||||||
|
["target/release/mosaic", "usr/bin/mosaic", "755"],
|
||||||
|
["GOVERNANCE.md", "usr/share/doc/mosaic/GOVERNANCE.md", "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