pake
pake copied to clipboard
pake is a PHP automation tool with capabilities similar to make
Please add a "--help" option. "pake --help" should do the same thing as "pake help". It should work regardless of whether a Pakefile is available.
Is there a way to define methods as runMyTask instead of run_my_task?
in line 293 of pake_function.php: $content = pake_read_file($src_dir.'/'.$file); we should prepend $src_dir . DIRECTORY_SPERARATOR only when $src_dir is not empty. Otherwise we get an error on windows: /C:/a/file/path
I have a project in which I use Pake 1.99.3. If I type "pake help", I get a usage message which tells me that the effect of "--tasks" is to...
pake_replace_tokens( 'myfile' 'testdir', ... ) will fail, as it tries to replace in ./testdir/testdir/myfile - both on linux and windows
The code will only look for pakefile.php in current dir and parent dirs. It is possible to pass a "pakefile" option, but if that pakefile is in an unrelated dir...
when calling pake_chmod like pake_chmod('', 'cache/', 0777) then it will fail output: > > chmod 777 cache/cache/ > > Warning: chmod(): file or directory not found in /usr/share/php/pake/pakeFunction.php:351 as you...
This is, afaik, not currently supported by pake, and enough of a chore to merit some pake_function of its own (either that, or have it working via pake_write_file). From my...