Updated readme for release to other platforms from macos
This commit is contained in:
parent
166dc2776c
commit
a990f8d7cc
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
/target
|
||||
Cargo.lock
|
||||
.env
|
||||
.env
|
||||
/deploy-scripts
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user