Skip to content

Commit

Permalink
Suggest install natively from src
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudxain authored Jul 13, 2024
1 parent 6ab2240 commit 1b31f00
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ cargo install spwn

Let it compile and you're good to go.

### Compiling from source
### Installing from source

1. [Download](https://github.com/Spu7Nix/SPWN-language/archive/refs/heads/master.zip) the source code from this repository.
2. Unzip the .zip file.
Expand All @@ -124,8 +124,10 @@ Let it compile and you're good to go.
- Windows: Right click the folder and press `Open command window here`.
- Mac: Open `Terminal.app` in the `Utilities` folder in the `Applications` folder, then drag and drop the folder onto the terminal window and press enter.
- Linux: Right click the folder and press `Open in Terminal`.
6. Run `cargo build --release`.
7. Compiled binary is placed in the `target/release` directory.
6. Run:
```sh
cargo install . --config 'build.rustflags="-C target-cpu=native"'
```

## Using SPWN

Expand Down

0 comments on commit 1b31f00

Please sign in to comment.