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
Requires
- php: >=5.6
- tjm/task-runner: ^0
- tjm/web-crawler: ^0.2
Requires (Dev)
- tjm/dev: ^1
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