Skip to content
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

Add Build Script #62

Closed
MeikTranel opened this issue Dec 1, 2018 · 7 comments
Closed

Add Build Script #62

MeikTranel opened this issue Dec 1, 2018 · 7 comments

Comments

@MeikTranel
Copy link
Contributor

For contributors it is common practice to look at the readme.md and look for a how to build section. This is where a build script should exist that does the whole stack: setup, test and package - one console command should set off the whole thing.

This can be the same script that'll end up being called by future CICD integration.

@abergs
Copy link
Collaborator

abergs commented Dec 22, 2018

I agree, would be nifty.
I have never done a ps1 script for similar for building dotnet solutions. All the CI tooling I've used have come with the "Use MSBuild" option.

@lennybacon
Copy link

I think msbuild would be fine. The idea is to have a start script/command to get it up and running.

@MeikTranel
Copy link
Contributor Author

The largest project i'm managing currently is entirely based on MSBuild logic. It includes several hundred C#, .NET and Delphi projects and with these kinds of projects MSBuild really is a strong suite. For small projects with single entry points, when dotnet pack on a solution file is all thats needed to produce release artifacts, i prefer things like Cake to control different steps. I'd much prefer PSake, as that would reduce some issues with VSCode-Omnisharp and Cake... but i haven't had enough experience with it yet.

@abergs
Copy link
Collaborator

abergs commented Dec 22, 2018

Added simple scripts in 14f5b95
Closing - but feedback is welcome 👍

@abergs abergs closed this as completed Dec 22, 2018
@MeikTranel
Copy link
Contributor Author

looks good to me, now put this somewhere in a CI environment. Appveyor, Azure DevOps, Travis... the sky is the limit here. They all give open source projects free build pipelines.

@abergs
Copy link
Collaborator

abergs commented Dec 22, 2018

Should also add a note in Readme as well as a test script.

@MeikTranel
Copy link
Contributor Author

Yes, i'm opening an issue to track CI setup for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants