imoisey / makebuilder
Builder for Makefile
0.1.1
2020-06-10 20:44 UTC
Requires
- php: >=7.2
This package is auto-updated.
Last update: 2025-03-11 15:53:25 UTC
README
Makebuilder is an easy library for building Makefile.
Installation
composer require imoisey/makebuilder
Usage
use Imoisey\Makebuilder\MakeBuilder; $makeBuilder = new MakeBuilder(); $makeBuilder->createTarget('install', function ($target) { $target->addCommand('@echo --- Install ---'); }); $makeBuilder->build('Makefile');
Makefile:
install:
@echo --- Install ---