-
Notifications
You must be signed in to change notification settings - Fork 394
Time to get rid of build.cmd? #787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
PSScriptAnalyzer hasn't moved to dotnet CLI 1.0 yet so it's still on one of the preview releases before the csproj changeover. Looks like the proper way to invoke the build(s) is here: https://github.com/PowerShell/PSScriptAnalyzer/blob/development/appveyor.yml#L27 |
Yes, we need a proper build system for PSSA. Right now it is just a custom script |
Any opinions/suggestions on the choice of build tool are welcome. |
Your only option for cross-platform builds right now is Invoke-Build until we kick out a new psake release with cross-platform support. |
There is a pending PR that is supposed to fix a number of cross-plat issues - https://github.com/psake/psake/pull/198/files Most of it looks good. I wonder if that would be enough to build basic modules. There's still work to be done to get a .NET Core build environment going. |
On a related note: The AppVeyor build does not work in my fork (maybe this should be a separate issue?). See e.g. here. The error that I get is: Also what would it take to upgrade to the latest version of the .Net Core SDK? Just upgrading from project.json to csproj or more? |
I definitely want to move toward an improved experience for folks working both in PSCore and PSSA. PSSA is already at 2.1.4 (although, we will need to roll back to 2.0 to match PSCore) that way you only need one set of dotnet cli tools to build both |
OK, I don't mind rolling back the SDK one minor version but keep in mind that PSCore want to upgrade the SDK to 2.1.4 soon, see comment here |
As I commented in #854
I push PowerShell/PowerShell#6054 to move to SDK 2.1.4 |
Tried to build PSSA with build.cmd and these errors:
I also thought that .NET Core no longer uses $home/.dnx.
The text was updated successfully, but these errors were encountered: