You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
update build scripts and workflows for cmd/jail project structure
Updated all build tooling to work with the moved main.go:
## Files Updated
### Makefile
- Updated build target: ./cmd/jail instead of .
- Updated build-all target: all cross-platform builds use ./cmd/jail
- Version injection still works with -X main.version=
### Build Script (scripts/build.sh)
- Updated to build from ./cmd/jail directory
- All platform builds now use correct path
### GitHub Actions Workflows
- build.yml: Updated build command to use ./cmd/jail
- release.yml: Updated build command to use ./cmd/jail
- Version injection path remains main.version (package didn't change)
### README.md
- Updated build examples: go build -o jail ./cmd/jail
- Updated development section manual commands
- Updated Quick Start build example
## Tested
- ✅ make build works correctly
- ✅ ./scripts/build.sh creates all 4 binaries
- ✅ Version injection works (dev-dd5ba1d)
- ✅ Cross-platform builds succeed
- ✅ Tests run (though some may have existing issues)
## Compatibility
All existing workflows and build processes continue to work
with the new cmd/jail project structure. The change is fully
backward compatible from a user perspective.
Co-authored-by: f0ssel <[email protected]>
0 commit comments