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