tjm/static-web-tasks

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

v0.2.3 2024-07-24 20:30 UTC

This package is auto-updated.

Last update: 2024-11-09 19:04:46 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