Commit 60b9e4ca authored by Éloïs's avatar Éloïs

[build] adapt releases scripts to new project architecture

parent 500caf35
......@@ -102,8 +102,8 @@ rm -Rf .gitignore .git || exit 1 # Remove git files
# Build binary
echo ">> Building binary..."
cd "${ROOT}"
cargo build --release --target=${TARGET} || exit 1
cd "${ROOT}/bin/durs-server"
cargo build --release --features=ssl --target=${TARGET} || exit 1
mkdir -p "${RELEASES}/server_" || exit 1
cp "${ROOT}/target/${TARGET}/release/durs" "${RELEASES}/server_/" || exit 1
......
......@@ -103,8 +103,8 @@ rm -Rf .gitignore .git || exit 1 # Remove git files
# Build binary
echo ">> Building binary..."
cd "${ROOT}"
cargo build --release || exit 1
cd "${ROOT}/bin/durs-server"
cargo build --release --features=ssl || exit 1
mkdir -p "${RELEASES}/server_" || exit 1
cp "${ROOT}/target/release/durs" "${RELEASES}/server_/" || exit 1
......
......@@ -69,8 +69,8 @@ rm -Rf .gitignore .git || exit 1 # Remove git files
# Build binary
echo ">> Building binary..."
cd "${ROOT}"
cargo build --target=${TARGET} --release --no-default-features || exit 1
cd "${ROOT}/bin/durs-server"
cargo build --release --target=${TARGET} || exit 1
mkdir -p "${RELEASES}/server_" || exit 1
cp "${ROOT}/target/${TARGET}/release/durs.exe" "${RELEASES}/server_/" || exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment