Skip to content
Snippets Groups Projects
Commit b6b70771 authored by Éloïs's avatar Éloïs
Browse files

[build] fix: cargo deb not found license

parent ee25667e
No related branches found
No related tags found
1 merge request!192[build] fix: cargo deb not found license
......@@ -31,7 +31,7 @@ ssl = ["durs-ws2p-v1-legacy/ssl"]
[package.metadata.deb]
maintainer = "librelois <contact@dunitrust.org>"
copyright = "2017-2019, AXIOM TEAM Association <contact@axiom-team.fr>"
license-file = ["LICENSE", "4"]
license-file = ["../../LICENSE", "4"]
depends = "$auto"
section = "misc"
priority = "optional"
......@@ -44,7 +44,7 @@ features = ["ssl"]
[package.metadata.deb.variants.arm]
maintainer = "librelois <contact@dunitrust.org>"
copyright = "2017-2019, AXIOM TEAM Association <contact@axiom-team.fr>"
license-file = ["LICENSE", "4"]
license-file = ["../../LICENSE", "4"]
section = "misc"
priority = "optional"
assets = [
......
......@@ -58,8 +58,7 @@ build_extra_server() {
# Parameters:
# 1. Building type (either “desktop” or “server”).
build_deb_pack() {
cd "${ROOT}/bin/dunitrust-${1}"
cargo deb --output "${BIN}/duniter-rust-${1}-${DURS_TAG}-linux-x64.deb"
cargo deb --manifest-path "${ROOT}/bin/dunitrust-${1}/Cargo.toml" --output "${BIN}/dunitrust-server-${1}-${DURS_TAG}-linux-x64.deb"
create_desc "${BIN}/duniter-rust-${1}-${DURS_TAG}-linux-x64.deb" "${1}" "Linux (Ubuntu/Debian)"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment