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