Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 6 additions & 6 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,12 @@ cargo test --package hypnoscript-runtime
### CLI Tests

```bash
hypnoscript-cli version
hypnoscript-cli builtins
hypnoscript-cli lex <file>
hypnoscript-cli parse <file>
hypnoscript-cli check <file>
hypnoscript-cli run <file>
hypnoscript version
hypnoscript builtins
hypnoscript lex <file>
hypnoscript parse <file>
hypnoscript check <file>
hypnoscript exec <file>
```

### Performance Tests
Expand Down
22 changes: 12 additions & 10 deletions .github/workflows/rust-build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -199,11 +200,12 @@ jobs:
# Extract the archive
tar -xzf hypnoscript-*.tar.gz

# Move to PATH
sudo mv hypnoscript-* /usr/local/bin/hypnoscript-cli
# 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-cli version
hypnoscript version
```

### Windows
Expand All @@ -216,7 +218,7 @@ jobs:
### Debian/Ubuntu
```bash
sudo dpkg -i hypnoscript_*.deb
hypnoscript-cli version
hypnoscript version
```

## Checksums
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

---

Expand Down