From 8f0e3c33e1ef200f3ab4951d072dc5aa10f403b8 Mon Sep 17 00:00:00 2001 From: Boris Kayi Date: Sun, 10 Sep 2023 23:15:21 +0200 Subject: [PATCH] Windows release notes (#50) * 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 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fdbe7f9..18287c9 100644 --- a/README.md +++ b/README.md @@ -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/')" \ @@ -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