From fb77bd546ce42e5703cfb12ab1ebbe9772b83cef Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 21 Dec 2025 17:26:37 -0500 Subject: Fixes for builds and accessing version and install script --- CHANGES.md | 4 ++++ README.md | 8 ++++++++ install_script.sh | 4 +++- src/stdlib/stdlib.c | 43 ++++++++++++++++++++++++++++++++++--------- 4 files changed, 49 insertions(+), 10 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 14e0dc5f..0393cecf 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Version History +## v2025-12-21.5 + +- Various fixes for versioning and builds. + ## v2025-12-21.4 - Version bump and deprecated `--changelog` flag diff --git a/README.md b/README.md index ac7e91ba..456b9e46 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,14 @@ of many language features or the other example programs/modules in [examples/](examples/). You can also look at the [core libraries](lib/) which are implemented in Tomo. +## Quick Installation + +If you don't want to build from source but just want to install, run this script: + +``` +curl https://raw.githubusercontent.com/bruce-hill/tomo/refs/heads/main/install_script.sh | bash` +``` + ## Features ### Performance diff --git a/install_script.sh b/install_script.sh index 1b3d92ae..21535f3d 100755 --- a/install_script.sh +++ b/install_script.sh @@ -129,7 +129,7 @@ if echo "$PATH" | tr ':' '\n' | grep -qx "$HOME/.local/bin"; then default_prefix="~/.local" fi printf '\033[1mChoose where to install Tomo (default: %s):\033[m ' "$default_prefix" -read DEST +read DEST