Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest install natively from src #336

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 --path . --config 'build.rustflags="-C target-cpu=native"'
```

## Using SPWN

Expand Down
Loading