From ce69255e78e7043db2d1713eae0703c9938b0c0c Mon Sep 17 00:00:00 2001 From: t1ltxz-gxd Date: Mon, 28 Oct 2024 20:18:36 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=97=EF=B8=8F=20feat:=20added=20Makefil?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0d5a294 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +release: + cd bytesto4t/src-tauri + echo "Releasing x86_64-pc-windows-gnu" + make release-x86_64-pc-windows-gnu + echo "Releasing x86_64-unknown-linux-gnu" + make release-x86_64-unknown-linux-gnu + +release-x86_64-pc-windows-gnu: + cross build --release --target x86_64-pc-windows-gnu + +release-x86_64-unknown-linux-gnu: + cross build --release --target x86_64-unknown-linux-gnu + +install-deps: + echo "Installing dependencies..." + cargo install cross