scripts to generate compatibility-status.md
This commit is contained in:
Родитель
47f7ce5fc5
Коммит
fdb3435c7e
|
@ -1,3 +1,4 @@
|
|||
|
||||
**/bin
|
||||
**/obj
|
||||
/site
|
|
@ -1,3 +1,7 @@
|
|||
#
|
||||
# generates compatibility-status.md markdown page
|
||||
#
|
||||
|
||||
param (
|
||||
)
|
||||
|
||||
|
@ -39,8 +43,8 @@ function progress {
|
|||
[System.Environment]::SetEnvironmentVariable('DOTNET_SKIP_FIRST_TIME_EXPERIENCE', '1')
|
||||
|
||||
# run collect features from php & peachpie:
|
||||
$output_php = & invoke-Expression "php -f program.php" | Out-String
|
||||
$output_peachpie = & invoke-Expression "dotnet run --no-logo" | Out-String
|
||||
$output_php = & invoke-Expression "php -f ""$PSScriptRoot/program.php""" | Out-String
|
||||
$output_peachpie = & invoke-Expression "dotnet run --no-logo -p ""$PSScriptRoot""" | Out-String
|
||||
|
||||
$php = $output_php | ConvertFrom-Json
|
||||
$peachpie = $output_peachpie | ConvertFrom-Json
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
# generate docs/compatibility-status.md
|
||||
invoke-expression -Command "$PSScriptRoot/generate-compatibility/generate.ps1" | Out-File -FilePath "$PSScriptRoot/../docs/compatibility-status.md" -Encoding UTF8
|
Загрузка…
Ссылка в новой задаче