mirror of
https://github.com/ScoopInstaller/Scoop.git
synced 2026-10-02 01:59:02 +00:00
* Update Newtonsoft.Json to version 10.0.3 * Update Newtonsoft.Json.Schema to version 3.0.3 * Add Microsoft.Net.Compiles dependency * Improve build/update process * Use deterministic builds for Scoop.Validator.dll and validator.exe
7 lines
580 B
PowerShell
7 lines
580 B
PowerShell
pushd $psscriptroot
|
|
iex "$psscriptroot\install.ps1"
|
|
gci $psscriptroot\packages\Newtonsoft.*\lib\net40\*.dll -file | % { copy-item $_ $psscriptroot }
|
|
& "$psscriptroot\packages\Microsoft.Net.Compilers\tools\csc.exe" /deterministic /platform:anycpu /nologo /optimize /target:library /reference:Newtonsoft.Json.dll,Newtonsoft.Json.Schema.dll Scoop.Validator.cs
|
|
& "$psscriptroot\packages\Microsoft.Net.Compilers\tools\csc.exe" /deterministic /platform:anycpu /nologo /optimize /target:exe /reference:Scoop.Validator.dll,Newtonsoft.Json.dll,Newtonsoft.Json.Schema.dll validator.cs
|
|
popd
|