Fix config.yaml path

This commit is contained in:
Shivam Mathur 2019-09-28 07:08:10 +05:30
parent 651d2619bb
commit 932b66f3fc
5 changed files with 66 additions and 1 deletions

60
config.yaml Normal file
View File

@ -0,0 +1,60 @@
variants:
dev:
bcmath:
calendar:
cli:
ctype:
dom:
fileinfo:
filter:
ipc:
iconv:
json:
mbregex:
mbstring:
mhash:
mcrypt:
pcntl:
pcre:
pdo:
phar:
posix:
sockets:
tokenizer:
xml:
curl:
openssl:
zip:
gd:
- --with-freetype
- --with-pdo-mysql=mysqlnd
- --with-mysqli=mysqlnd
- --with-pgsql
- --with-pdo-pgsql
- --with-gmp=/usr/local/opt/gmp
- --with-openssl
- --with-pear
- --with-zip
- --with-zlib-dir=/usr/local/opt/zlib
- --with-libxml
- --with-kerberos
- --with-gd
- --with-ffi
- --with-bz2=/usr/local/opt/bzip2
- --with-readline=/usr/local/opt/readline
- --with-iconv=/usr/local/opt/libiconv
- --with-icu-dir=/usr/local/opt/icu4c
- --enable-intl
- --enable-xml
- --enable-sysvsem
- --enable-sysvshm
- --enable-sysvmsg
- --enable-phpdbg
- --enable-exif
- --enable-gd
- --enable-soap
- --enable-xmlreader
- --enable-zend-test=shared
extensions:
dev:
xdebug: stable

View File

@ -60,6 +60,7 @@ function readScript(filename, version, os_version) {
case 'darwin': case 'darwin':
switch (version) { switch (version) {
case '7.4': case '7.4':
fs.createReadStream(path.join(__dirname, '../src/config.yaml')).pipe(fs.createWriteStream('config.yaml'));
return fs.readFileSync(path.join(__dirname, '../src/7.4.sh'), 'utf8'); return fs.readFileSync(path.join(__dirname, '../src/7.4.sh'), 'utf8');
case '7.3': case '7.3':
default: default:

View File

@ -35,7 +35,7 @@ echo 'export EXTRA_LIBS="/usr/local/opt/readline/lib/libhistory.dylib
/usr/local/opt/icu4c/lib/libicutu.dylib /usr/local/opt/icu4c/lib/libicutu.dylib
/usr/local/opt/icu4c/lib/libicuuc.dylib"' /usr/local/opt/icu4c/lib/libicuuc.dylib"'
} >> ~/.bash_profile } >> ~/.bash_profile
config_file=$(pwd)/src/config.yaml config_file=$(pwd)/config.yaml
cd ~ || echo "could not move to ~" cd ~ || echo "could not move to ~"
curl -L -O https://github.com/phpbrew/phpbrew/raw/master/phpbrew >/dev/null 2>&1 curl -L -O https://github.com/phpbrew/phpbrew/raw/master/phpbrew >/dev/null 2>&1
chmod +x ./phpbrew chmod +x ./phpbrew

View File

@ -22,6 +22,7 @@ async function run() {
version, version,
os_version os_version
); );
darwin += await features.addExtension(extension_csv, version, os_version); darwin += await features.addExtension(extension_csv, version, os_version);
darwin += await features.addINIValues(ini_values_csv, os_version); darwin += await features.addINIValues(ini_values_csv, os_version);
darwin += await features.addCoverage(coverage, version, os_version); darwin += await features.addCoverage(coverage, version, os_version);

View File

@ -48,6 +48,9 @@ export async function readScript(
case 'darwin': case 'darwin':
switch (version) { switch (version) {
case '7.4': case '7.4':
fs.createReadStream(path.join(__dirname, '../src/config.yaml')).pipe(
fs.createWriteStream('config.yaml')
);
return fs.readFileSync(path.join(__dirname, '../src/7.4.sh'), 'utf8'); return fs.readFileSync(path.join(__dirname, '../src/7.4.sh'), 'utf8');
case '7.3': case '7.3':
default: default: