Skip to content

Commit

Permalink
Windows release notes (#50)
Browse files Browse the repository at this point in the history
* ci-cd: add release jobs for windows

* ci-cd: minor error

* fix: minor error

* fix: windows path

* fix: release asset path in cd for windows

* fix: typos

* docs: add note about how to download windows
  • Loading branch information
silverhairs authored Sep 10, 2023
1 parent 208877a commit 8f0e3c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ You have two options to run the REPL, you can either install the latest released

### Using Release Binary


The script below will download the latest released binary in your system and request for execution permission, once granted, you can start the REPL by executing the command `./glox` in the directory where you ran the script.

> Disclaimer: This script does not work on windows, if you use windows, you can manually open the [latest release page](https://github.com/silverhairs/crafting-interpreters/releases/latest) and download the `glox-windows-amd64.exe` file.
```sh
curl -L -s https://api.github.com/repos/silverhairs/crafting-interpreters/releases/latest \
| grep "browser_download_url.*glox-$(uname -s | tr '[:upper:]' '[:lower:]' | sed 's/darwin/macos/')-$(uname -m | sed 's/x86_64/amd64/')" \
Expand All @@ -29,7 +32,6 @@ curl -L -s https://api.github.com/repos/silverhairs/crafting-interpreters/releas

- You need to have [cURL](https://curl.se/) installed in your system for the above script to work.
- I don't have a specific release schedule, I just cut a new release whenever a major feature has been implemented.
- Currently the latest release only holds binaries for macos and linux, if you have windows... idk what to tell yah (seek help i guess). I will include windows later in the release workflow though, I just need to get a windows computer to test.

### Using source code

Expand Down

0 comments on commit 8f0e3c3

Please sign in to comment.