Remove broken MSI, clean up windows build

This commit is contained in:
Simon Gellis 2024-12-18 22:49:13 -05:00
parent 78289193c7
commit 3c4b89a8da
4 changed files with 5 additions and 5 deletions

1
.gitattributes vendored
View File

@ -4,6 +4,7 @@
*.html text eol=lf diff=html *.html text eol=lf diff=html
*.java text eol=lf diff=java *.java text eol=lf diff=java
*.js text eol=lf diff=js *.js text eol=lf diff=js
*.sh text eol=lf
*.txt text eol=lf *.txt text eol=lf
*.class binary *.class binary

View File

@ -15,10 +15,6 @@ cp target/release/bundle/deb/*.deb output
cargo build --release --target x86_64-pc-windows-msvc cargo build --release --target x86_64-pc-windows-msvc
cp target/x86_64-pc-windows-msvc/release/lemur.exe output cp target/x86_64-pc-windows-msvc/release/lemur.exe output
# Bundle for Windows
cargo bundle --release --target x86_64-pc-windows-msvc --format msi
cp target/x86_64-pc-windows-msvc/release/bundle/msi/Lemur.msi output
# Build for MacOS Intel # Build for MacOS Intel
cargo build --release --target x86_64-apple-darwin cargo build --release --target x86_64-apple-darwin
cp target/x86_64-apple-darwin/release/lemur output/lemur-osx-intel cp target/x86_64-apple-darwin/release/lemur output/lemur-osx-intel

View File

@ -3,4 +3,4 @@ if [ -z "${RELEASE_TOKEN}" ]; then
exit 1 exit 1
fi fi
docker build -f build.Dockerfile -t lemur-build . docker build -f build.Dockerfile -t lemur-build .
docker run -it --rm -e RELEASE_TOKEN="${RELEASE_TOKEN}" -v .:/app -w /app --entrypoint bash lemur-build /app/scripts/do-release.sh MSYS_NO_PATHCONV=1 docker run -it --rm -e RELEASE_TOKEN="${RELEASE_TOKEN}" -v .:/app -w /app --entrypoint bash lemur-build /app/scripts/do-release.sh

View File

@ -1,3 +1,6 @@
// hide console in release mode
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
use std::{path::PathBuf, process}; use std::{path::PathBuf, process};
use anyhow::Result; use anyhow::Result;