mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-05 23:06:10 +00:00
* reoves the old implemetnation of sourcelink and uses the newer one present in the .net SDK * cleans up appveyor * updates proj with sourcelink props * adds deterministic build check as well. * Update docs/debugging-source.md Co-authored-by: Keegan Campbell <me@kfcampbell.com> --------- Co-authored-by: Keegan Campbell <me@kfcampbell.com>
20 lines
555 B
C#
20 lines
555 B
C#
using Cake.Common.Tools.DotNet;
|
|
using Cake.Common.Tools.DotNet.Build;
|
|
using Cake.Core;
|
|
using Cake.Frosting;
|
|
|
|
[IsDependentOn(typeof(Restore))]
|
|
[IsDependentOn(typeof(FormatCode))]
|
|
public class Build : FrostingTask<Context>
|
|
{
|
|
public override void Run(Context context)
|
|
{
|
|
context.DotNetBuild("./Octokit.sln", new DotNetBuildSettings
|
|
{
|
|
Configuration = context.Configuration,
|
|
ArgumentCustomization = args => args
|
|
.Append("/p:Version={0}", context.Version.GetSemanticVersion()),
|
|
});
|
|
}
|
|
}
|