From 27fa773db709a1e7e81ea33505c6d83fcf3c3e0d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 21 Nov 2025 10:47:11 +0000 Subject: [PATCH 1/4] Initial plan From a30efb0944f6381042cd0807b9ae93aa972544ed Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 21 Nov 2025 10:50:46 +0000 Subject: [PATCH 2/4] Fix binary references in rust-build-and-release.yml workflow Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> --- .github/workflows/rust-build-and-release.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/rust-build-and-release.yml b/.github/workflows/rust-build-and-release.yml index 1a1bd90..ce10e1f 100644 --- a/.github/workflows/rust-build-and-release.yml +++ b/.github/workflows/rust-build-and-release.yml @@ -14,23 +14,23 @@ jobs: include: - os: ubuntu-latest target: x86_64-unknown-linux-gnu - artifact_name: hypnoscript-cli + artifact_name: hypnoscript asset_name: hypnoscript-linux-x64 - os: ubuntu-latest target: x86_64-unknown-linux-musl - artifact_name: hypnoscript-cli + artifact_name: hypnoscript asset_name: hypnoscript-linux-x64-musl - os: windows-latest target: x86_64-pc-windows-msvc - artifact_name: hypnoscript-cli.exe + artifact_name: hypnoscript.exe asset_name: hypnoscript-windows-x64.exe - os: macos-latest target: x86_64-apple-darwin - artifact_name: hypnoscript-cli + artifact_name: hypnoscript asset_name: hypnoscript-macos-x64 - os: macos-latest target: aarch64-apple-darwin - artifact_name: hypnoscript-cli + artifact_name: hypnoscript asset_name: hypnoscript-macos-arm64 env: @@ -121,7 +121,8 @@ jobs: section = "devel" priority = "optional" assets = [ - ["target/release/hypnoscript-cli", "usr/bin/", "755"], + ["target/release/hypnoscript", "usr/bin/", "755"], + ["target/release/hyp", "usr/bin/", "755"], ["../README.md", "usr/share/doc/hypnoscript/", "644"], ] EOF @@ -200,10 +201,10 @@ jobs: tar -xzf hypnoscript-*.tar.gz # Move to PATH - sudo mv hypnoscript-* /usr/local/bin/hypnoscript-cli + sudo mv hypnoscript-* /usr/local/bin/ # Test installation - hypnoscript-cli version + hypnoscript version ``` ### Windows @@ -216,7 +217,7 @@ jobs: ### Debian/Ubuntu ```bash sudo dpkg -i hypnoscript_*.deb - hypnoscript-cli version + hypnoscript version ``` ## Checksums From b8983831c14982657e716c75daad6062cbd2252f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 21 Nov 2025 10:52:11 +0000 Subject: [PATCH 3/4] Update CLI command references in documentation Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> --- .github/workflows/README.md | 12 ++++++------ README.md | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/README.md b/.github/workflows/README.md index 3c9b262..6c7fe33 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -172,12 +172,12 @@ cargo test --package hypnoscript-runtime ### CLI Tests ```bash -hypnoscript-cli version -hypnoscript-cli builtins -hypnoscript-cli lex -hypnoscript-cli parse -hypnoscript-cli check -hypnoscript-cli run +hypnoscript version +hypnoscript builtins +hypnoscript lex +hypnoscript parse +hypnoscript check +hypnoscript exec ``` ### Performance Tests diff --git a/README.md b/README.md index 425a3a7..8589a43 100644 --- a/README.md +++ b/README.md @@ -357,7 +357,7 @@ cargo clippy --all-targets --all-features `ToInt`, `ToDouble`, `ToString`, `ToBoolean` -A complete list is available via `hypnoscript-cli builtins` and in the Docusaurus documentation. +A complete list is available via `hypnoscript builtins` and in the Docusaurus documentation. --- From f1a97247b2b856dcd2876d8950ba4976f28512bc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 21 Nov 2025 10:53:24 +0000 Subject: [PATCH 4/4] Improve installation instructions specificity Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> --- .github/workflows/rust-build-and-release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust-build-and-release.yml b/.github/workflows/rust-build-and-release.yml index ce10e1f..d1e213f 100644 --- a/.github/workflows/rust-build-and-release.yml +++ b/.github/workflows/rust-build-and-release.yml @@ -200,8 +200,9 @@ jobs: # Extract the archive tar -xzf hypnoscript-*.tar.gz - # Move to PATH - sudo mv hypnoscript-* /usr/local/bin/ + # Move binaries to PATH (choose the appropriate platform binary) + sudo mv hypnoscript-linux-x64 /usr/local/bin/hypnoscript + sudo chmod +x /usr/local/bin/hypnoscript # Test installation hypnoscript version