Updated readme for release to other platforms from macos

This commit is contained in:
franklinblanco 2022-07-11 11:08:29 -04:00
parent 166dc2776c
commit a990f8d7cc
2 changed files with 9 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/target /target
Cargo.lock Cargo.lock
.env .env
/deploy-scripts

View File

@ -38,12 +38,18 @@ sqlx migrate run
Tests are WIP. Not done yet. Tests are WIP. Not done yet.
# Release # Release
To build for release To build for release on current platform
```bash ```bash
cargo build --release 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} You can find the executable inside target/release/{name of proj}
## License & Attribution ## License & Attribution