mustRun();foreach($files as $file)$copy($repo.'/'.$file,$file); foreach(glob($build.'/assets/*') as $file)$copy($file,'public/build/assets/'.basename($file));$copy($build.'/manifest.json','public/build/manifest.json'); $configuration=require $s['app'].'/config/sgf_single_installation.php';$configuration['bindings_sha256']=$pins['single-bindings.json']; foreach(['sgf_single_installation'=>$configuration,'stock_operations'=>['enabled'=>true,'profile_sha256'=>$pins['stock-operations-binding.json']],'workshop_stock'=>['synthetic_sources'=>[],'composed_enabled'=>true,'composed_sha256'=>$pins['workshop-stock-binding.json']]] as $name=>$data){$source=$work.'/'.$name.'.php';file_put_contents($source,"true,'installation'=>$tag,'source_hashes'=>$hashes,'before'=>$before,'native_bundle_changed'=>false,'host_balance_created'=>false,'cache_cleared'=>false,'new_demo'=>false,'browser_visual_review'=>false],JSON_PRETTY_PRINT));echo json_encode(['passed'=>true,'files'=>count($hashes),'proof'=>$work.'/workshop-stock-installation.json']).PHP_EOL;