mirror of
https://github.com/exoticorn/upkr.git
synced 2026-01-20 11:36:42 +01:00
add 32bit windows build to releases
This commit is contained in:
1
release/.gitignore
vendored
1
release/.gitignore
vendored
@@ -2,3 +2,4 @@
|
|||||||
*.tgz
|
*.tgz
|
||||||
upkr-linux/
|
upkr-linux/
|
||||||
upkr-windows/
|
upkr-windows/
|
||||||
|
upkr-windows-32/
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
VERSION := $(shell cargo run --release -- --version)
|
VERSION := $(shell cargo run --release -- --version)
|
||||||
|
|
||||||
all: clean upkr-linux-$(VERSION).tgz upkr-windows-$(VERSION).zip
|
all: clean upkr-linux-$(VERSION).tgz upkr-windows-$(VERSION).zip upkr-windows-32-$(VERSION).zip
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf upkr-linux
|
rm -rf upkr-linux
|
||||||
rm -f upkr-linux*.tgz
|
rm -f upkr-linux*.tgz
|
||||||
rm -rf upkr-windows
|
rm -rf upkr-windows
|
||||||
|
rm -rf upkr-windows-32
|
||||||
rm -f upkr-windows*.zip
|
rm -f upkr-windows*.zip
|
||||||
|
|
||||||
upkr-linux-$(VERSION).tgz: upkr-linux/upkr PHONY
|
upkr-linux-$(VERSION).tgz: upkr-linux/upkr PHONY
|
||||||
@@ -22,6 +23,13 @@ upkr-windows-$(VERSION).zip: upkr-windows/upkr.exe PHONY
|
|||||||
cd .. && git archive HEAD asm_unpackers | tar -xC release/upkr-windows
|
cd .. && git archive HEAD asm_unpackers | tar -xC release/upkr-windows
|
||||||
zip -r -9 $@ upkr-windows
|
zip -r -9 $@ upkr-windows
|
||||||
|
|
||||||
|
upkr-windows-32-$(VERSION).zip: upkr-windows-32/upkr.exe PHONY
|
||||||
|
cp ../README.md upkr-windows-32/
|
||||||
|
cd .. && git archive HEAD c_unpacker | tar -xC release/upkr-windows-32
|
||||||
|
cd .. && git archive HEAD z80_unpacker | tar -xC release/upkr-windows-32
|
||||||
|
cd .. && git archive HEAD asm_unpackers | tar -xC release/upkr-windows-32
|
||||||
|
zip -r -9 $@ upkr-windows-32
|
||||||
|
|
||||||
upkr-linux/upkr:
|
upkr-linux/upkr:
|
||||||
cargo build --target x86_64-unknown-linux-musl --release -F terminal
|
cargo build --target x86_64-unknown-linux-musl --release -F terminal
|
||||||
mkdir -p upkr-linux
|
mkdir -p upkr-linux
|
||||||
@@ -33,5 +41,11 @@ upkr-windows/upkr.exe:
|
|||||||
mkdir -p upkr-windows
|
mkdir -p upkr-windows
|
||||||
cp ../target/x86_64-pc-windows-gnu/release/upkr.exe upkr-windows/
|
cp ../target/x86_64-pc-windows-gnu/release/upkr.exe upkr-windows/
|
||||||
x86_64-w64-mingw32-strip upkr-windows/upkr.exe
|
x86_64-w64-mingw32-strip upkr-windows/upkr.exe
|
||||||
|
|
||||||
|
upkr-windows-32/upkr.exe:
|
||||||
|
cargo build --target i686-pc-windows-gnu --release -F terminal
|
||||||
|
mkdir -p upkr-windows-32
|
||||||
|
cp ../target/i686-pc-windows-gnu/release/upkr.exe upkr-windows-32/
|
||||||
|
i686-w64-mingw32-strip upkr-windows-32/upkr.exe
|
||||||
|
|
||||||
PHONY:
|
PHONY:
|
||||||
|
|||||||
Reference in New Issue
Block a user