Repository navigation
Hype v1.7.1 - Cross-compilation and Build Fixes
What's Changed
🔧 Build System Improvements
- Enhanced Cross-compilation: now properly respects GOOS/GOARCH environment variables
- Fixed reflect import: Resolved unused import issues when building scripts without plugins
- CI/CD compatibility: Improved support for GitHub Actions and automated builds
🛠️ Technical Fixes
- Fixed conditional import of reflect package in generated Go code
- Enhanced cross-platform binary generation from CI/CD systems
- Improved plugin system compatibility with build process
📦 Examples
- Added LMDB Tree Viewer as example project showcasing cross-platform builds
- Demonstrates proper usage of hype build in GitHub Actions workflows
🔗 Related Projects
- LMDB Tree Viewer - Database visualization tool built with hype
Installation
Quick Install
curl -sSL https://raw.githubusercontent.com/twilson63/hype/main/install.sh | bashManual Install
- Download the appropriate binary for your platform from the releases page
- Make it executable:
chmod +x hype - Move to your PATH:
mv hype /usr/local/bin/
Usage
Cross-compilation
# Build for Linux from macOS
GOOS=linux GOARCH=amd64 hype build script.lua -o app-linux
# Build for Windows from Linux
GOOS=windows GOARCH=amd64 hype build script.lua -o app-windows.exe
# Build for macOS ARM64
GOOS=darwin GOARCH=arm64 hype build script.lua -o app-macos-arm64GitHub Actions
- name: Build Cross-platform Binaries
run: |
GOOS=linux GOARCH=amd64 hype build script.lua -o app-linux
GOOS=windows GOARCH=amd64 hype build script.lua -o app-windows.exe
GOOS=darwin GOARCH=arm64 hype build script.lua -o app-macos-arm64Full documentation: https://github.com/twilson63/hype/blob/main/README.md
🤖 Generated with Claude Code
Full Changelog: v1.7.0...v1.7.1