Skip to content

Commit f99af49

Browse files
iavWilfred
authored andcommitted
Add metadate to allow fast create .deb package with "cargo deb" command
1 parent 5936671 commit f99af49

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Cargo.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,14 @@ lto = "thin"
151151
name = "difft"
152152
path = "src/main.rs"
153153

154+
[package.metadata.deb]
155+
depends = "$auto"
156+
section = "utility"
157+
priority = "optional"
158+
assets = [
159+
"$auto",
160+
[ "difft.1", "usr/share/man/man1/", "644" ],
161+
[ "CHANGELOG.md", "usr/share/doc/difftastic/", "644" ],
162+
]
163+
154164
[features]

0 commit comments

Comments
 (0)