exp:expstaticdiff
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
What the last static build of a target changed, whether its folder still matches the manifest, and whether every link of it works when served below a path
Usage
./console exp:expstaticdiff [options] php bin/php/expstaticdiff.php [options] ./console exp:static:diff [options]
Aliases
exp:static:diff
Help
The output of ./console help exp:expstaticdiff (the script run with --help), without the standard options:
Usage: bin/php/expstaticdiff.php [OPTION]... [TARGET] What the last static build changed Compares the manifest of the target's folder with the one of the build before it: the files added, changed and removed. --verify compares the folder with its manifest (files missing, changed since the build, or not listed); --check-links checks every link and file as a browser would, served below each --mount. Changes nothing; exit 1 when --verify or --check-links finds a problem. ./console exp:static:diff github-public ./console exp:static:diff github-public --verify ./console exp:static:diff github-public --check-links --mount=/ --mount=/my-site/ Options: --format=VALUE text (default) or json (the machine output exp-static/1) --verify Compare the folder with its manifest: files missing, changed since the build, or not listed --check-links Check every link and file of the folder as a browser would, served below each --mount --mount=VALUE... The path the folder is served at for --check-links (default the target's BasePath; a comma list or repeated: /,/repo/)
Options
| Option | Value | Description |
|---|---|---|
| --format | required | text (default) or json (the machine output exp-static/1) |
| --verify | - | Compare the folder with its manifest: files missing, changed since the build, or not listed |
| --check-links | - | Check every link and file of the folder as a browser would, served below each --mount |
| --mount | required | The path the folder is served at for --check-links (default the target's BasePath; a comma list or repeated: /,/repo/) |
Arguments
[target]
Standard options
Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.
Source
bin/php/expstaticdiff.php, kernel/private/classes/commands/expstaticdiff.php
See also
Generated example: exp:expstaticdiff
Added to the reference for Exponential 6.0.15.
Contributors
- Graham Brookins Updated
Comments
Add a comment