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

Just a note about new Hangfire build tools #3

Closed
odinserj opened this issue Dec 19, 2014 · 5 comments
Closed

Just a note about new Hangfire build tools #3

odinserj opened this issue Dec 19, 2014 · 5 comments

Comments

@odinserj
Copy link

@frankhommers, I'm looking that you are fighting with MSBuild-based build scripts taken from Hangfire. They were pretty awful, and I've changed them recently with psake-based tools (results described in this PR).

As a result, I've built the Hangfire.Build project to simplify the build automation and you can see the new and beautiful build scripts:

Hope it will help you.

@frankhommers
Copy link
Collaborator

Thanks! I just concluded to use that the second before you wrote this message. I will remove the build stuff for now and figure that out. Do I need to nuget that Hangfire.Build in my solution and than just change the scripts?

@odinserj
Copy link
Author

Hangfire.Build is a solution-level NuGet package, so it is better to install it through the NuGet as this will add psake dependency automatically. Then, copy the build.bat and boilerplate psake-project.ps1 files as described in the Installation section.

After installing, you can remove the Hangfire.targets file. To use Get-Version function and Version task, you should place SharedAssemblyInfo.cs file to the src directory (see an example).

@odinserj
Copy link
Author

Also note that some tasks like Run-XunitTests require additional NuGet packages installed.

@frankhommers
Copy link
Collaborator

Thanks Sergey! The build and nuget packages are working again!

@odinserj
Copy link
Author

Thank you for extending Hangfire! Btw, have you seen AppVeyor, continuous integration server for Windows that is free for open-source projects?

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

2 participants