From a990f8d7cc09f1002f16f55e4db5f89f1ed8db8a Mon Sep 17 00:00:00 2001 From: franklinblanco Date: Mon, 11 Jul 2022 11:08:29 -0400 Subject: [PATCH] Updated readme for release to other platforms from macos --- .gitignore | 3 ++- Readme.md | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3549fae..3809d25 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /target Cargo.lock -.env \ No newline at end of file +.env +/deploy-scripts \ No newline at end of file diff --git a/Readme.md b/Readme.md index a487c57..f47274b 100644 --- a/Readme.md +++ b/Readme.md @@ -38,12 +38,18 @@ sqlx migrate run Tests are WIP. Not done yet. # Release -To build for release +To build for release on current platform ```bash cargo build --release ``` +To build for release on x86-64 linux + +```bash +cargo build --release --target x86_64-unknown-linux-gnu +``` +Or follow this guide (Export these vars): [cross-compilation-from-m1](https://github.com/messense/homebrew-macos-cross-toolchains) You can find the executable inside target/release/{name of proj} ## License & Attribution