tjm/static-web-tasks

Task to build a static version of a site for 'tjm/task-runner'

v0.2.4 2025-09-12 02:55 UTC

This package is auto-updated.

Last update: 2025-09-12 02:57:14 UTC


README

Task to build static version of website. Use like:

use TJM\StaticWebTasks\Task;
$task = new Task([
	'host'=> 'example.com',
	'scheme'=> 'https',
], __DIR__ . '/output-dir', [
	'exclude'=> ['/.htaccess'],
]);
$task->do();

See code for more details. Early implementation, interface may change.

License

SPDX-License-Identifier: 0BSD