X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fpsy%2Fpsysh%2Fbin%2Fbuild-stub;fp=vendor%2Fpsy%2Fpsysh%2Fbin%2Fbuild-stub;h=0d26110eab7ce2dc836e79f6096c76436ca12aac;hb=419f97be044f1aebd0713921ee604841127e9e84;hp=0000000000000000000000000000000000000000;hpb=052617e40b525f8b817d84c29b1c04951f427069;p=yaffs-website diff --git a/vendor/psy/psysh/bin/build-stub b/vendor/psy/psysh/bin/build-stub new file mode 100755 index 000000000..0d26110ea --- /dev/null +++ b/vendor/psy/psysh/bin/build-stub @@ -0,0 +1,22 @@ +#!/usr/bin/env php +>> \*/}sm', $autoload, $content); +$content = preg_replace('/\\(c\\) .*?with this source code./sm', $license, $content); + +$content .= '__HALT_COMPILER();'; + +@mkdir(dirname(__DIR__) . '/build'); + +file_put_contents(dirname(__DIR__) . '/build/stub', $content);