Repository navigation
esoul-cz/guidelines 0.3.1: PHAR build for repositories without PHP
The installer for repositories without PHP: a PHAR on every release, and the fixes a repository without Composer needed.
Added
- PHAR build:
composer build:phar(scripts/build-phar,box.json) writesbuild/esoul-guidelines.pharand its.sha256with a pinned, checksum-verified humbug/box from a clean--no-devinstall of the committed files. The PHAR bundles the installer and the guideline layers and reports thegit describeof the checkout as its version (the release tag), whichsyncrecords in the lock aspackage_version. Each release attachesesoul-guidelines.pharandesoul-guidelines.phar.sha256. - README: the three ways to install the command in a repository without PHP (
composer global, the PHAR from the release, Docker).
Fixed
- The bundled layers are found inside a PHAR: the layer scan used
glob(), which does not support thephar://stream wrapper. - The
AGENTS.mdblock told every project to runvendor/bin/esoul-guidelines sync, which does not exist in a repository without Composer. It namesesoul-guidelines syncand keeps the vendor path for Composer projects. Runsyncafter updating: until thencheckreports the block as outdated. init,sync,checkandlistare covered by a test in a project that has only apackage.json.