Browse Source

Merge pull request #1941 from icsharpcode/switchtopwsh

Switch from powershell to pwsh
pull/1968/head
Daniel Grunwald 5 years ago committed by GitHub
parent
commit
46a56440e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj
  2. 1
      README.md
  3. 2
      appveyor.yml
  4. 2
      azure-pipelines.yml

5
ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj

@ -624,9 +624,12 @@ @@ -624,9 +624,12 @@
</ItemGroup>
<Target Name="ILSpyUpdateAssemblyInfo" BeforeTargets="BeforeBuild">
<PropertyGroup>
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
<UpdateAssemblyInfo>powershell -NoProfile -ExecutionPolicy Bypass -File BuildTools/update-assemblyinfo.ps1 $(Configuration)</UpdateAssemblyInfo>
</PropertyGroup>
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
<UpdateAssemblyInfo>pwsh -NoProfile -ExecutionPolicy Bypass -File BuildTools/update-assemblyinfo.ps1 $(Configuration)</UpdateAssemblyInfo>
</PropertyGroup>
<Exec WorkingDirectory=".." Command="$(UpdateAssemblyInfo)" Timeout="60000" />
</Target>

1
README.md

@ -59,6 +59,7 @@ If this problem occurs, please manually install the .NET Core 3.1 SDK from [here @@ -59,6 +59,7 @@ If this problem occurs, please manually install the .NET Core 3.1 SDK from [here
Unix / Mac:
- Make sure .NET Core 2.1 LTS Runtime is installed (you can get it here: https://get.dot.net).
- Make sure [.NET Core 3.1 SDK](https://dotnet.microsoft.com/download/dotnet-core/3.1) is installed.
- Make sure [PowerShell](https://github.com/PowerShell/PowerShell) is installed (formerly known as PowerShell Core)
- Check out the repository using git.
- Execute `git submodule update --init --recursive` to download the ILSpy-Tests submodule (used by some test cases).
- Use `dotnet build Frontends.sln` to build the non-Windows flavors of ILSpy (.NET Core Global Tool and PowerShell Core).

2
appveyor.yml

@ -8,7 +8,7 @@ image: Visual Studio 2019 @@ -8,7 +8,7 @@ image: Visual Studio 2019
install:
- git submodule update --init --recursive
- ps: .\BuildTools\appveyor-install.ps1
- pwsh .\BuildTools\appveyor-install.ps1
nuget:
account_feed: false

2
azure-pipelines.yml

@ -45,7 +45,7 @@ jobs: @@ -45,7 +45,7 @@ jobs:
version: '3.1.100'
installationPath: $(Agent.ToolsDirectory)/dotnet
- powershell: .\BuildTools\pipelines-install.ps1
- script: pwsh .\BuildTools\pipelines-install.ps1
displayName: Install
- task: MSBuild@1

Loading…
Cancel
Save