diff options
| author | Henil Dedania <dedaniahenil@gmail.com> | 2021-01-23 11:41:00 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-23 11:41:00 +0530 |
| commit | 5c043d063d4f432c84119bb72638f059459db8f5 (patch) | |
| tree | 12eb0366e73bb88d1dc1c6bbc914614fff65bb6d | |
| parent | fix(compatibility): properly erase previous state before switching grids (#152) (diff) | |
| parent | Add `depends` field (diff) | |
| download | sl0ppij-5c043d063d4f432c84119bb72638f059459db8f5.tar.gz sl0ppij-5c043d063d4f432c84119bb72638f059459db8f5.tar.xz sl0ppij-5c043d063d4f432c84119bb72638f059459db8f5.zip | |
Merge pull request #151 from mosaic-org/add-cargo-metadata
feat(metadata): Add metadata to Cargo.toml for building deb packages
| -rw-r--r-- | Cargo.toml | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -40,3 +40,19 @@ structopt = "0.3" [profile.release] 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"], +] |
