mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-30 23:07:56 +07:00 
			
		
		
		
	Fix config.yaml path
This commit is contained in:
		| @ -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/libicuuc.dylib"' | ||||
| } >> ~/.bash_profile | ||||
| config_file=$(pwd)/src/config.yaml | ||||
| config_file=$(pwd)/config.yaml | ||||
| cd ~ || echo "could not move to ~" | ||||
| curl -L -O https://github.com/phpbrew/phpbrew/raw/master/phpbrew >/dev/null 2>&1 | ||||
| chmod +x ./phpbrew | ||||
|  | ||||
| @ -22,6 +22,7 @@ async function run() { | ||||
|         version, | ||||
|         os_version | ||||
|       ); | ||||
|  | ||||
|       darwin += await features.addExtension(extension_csv, version, os_version); | ||||
|       darwin += await features.addINIValues(ini_values_csv, os_version); | ||||
|       darwin += await features.addCoverage(coverage, version, os_version); | ||||
|  | ||||
| @ -48,6 +48,9 @@ export async function readScript( | ||||
|     case 'darwin': | ||||
|       switch (version) { | ||||
|         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'); | ||||
|         case '7.3': | ||||
|         default: | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur