From 34983de8a8ebce1e8771570e135fd943da816f09 Mon Sep 17 00:00:00 2001 From: Theodore Date: Mon, 2 Nov 2020 11:50:49 +0200 Subject: [PATCH] This is version 0.3.0. Reword some comments. --- Sigourney/AssemblyReference.cs | 4 ++-- Sigourney/MSBuildWeaver.cs | 2 +- Sigourney/Sigourney.csproj | 11 ++++++++--- Sigourney/WeaverConfig.cs | 6 +++--- test.ps1 | 2 +- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/Sigourney/AssemblyReference.cs b/Sigourney/AssemblyReference.cs index 6646a37..c9a4102 100644 --- a/Sigourney/AssemblyReference.cs +++ b/Sigourney/AssemblyReference.cs @@ -53,11 +53,11 @@ public AssemblyReference(string fileName) public bool IsReferenceAssembly { get; } /// - /// A object that corresponds to this assembly. + /// An object that corresponds to this assembly. /// public AssemblyNameDefinition AssemblyName { get; } - #region Equality comparer boilerplate + #region Interface implementation boilerplate /// public bool Equals(AssemblyReference? other) diff --git a/Sigourney/MSBuildWeaver.cs b/Sigourney/MSBuildWeaver.cs index fc612e6..f77b71c 100644 --- a/Sigourney/MSBuildWeaver.cs +++ b/Sigourney/MSBuildWeaver.cs @@ -73,7 +73,7 @@ public MSBuildWeaver() public ITaskItem[]? Configuration { get; set; } /// - /// The assembly's references, as given by MSBuild. + /// The assembly's references. /// public IReadOnlyList AssemblyReferences => _configThunk.Value?.References ?? _emptyReferenceList; diff --git a/Sigourney/Sigourney.csproj b/Sigourney/Sigourney.csproj index d43a926..8794445 100644 --- a/Sigourney/Sigourney.csproj +++ b/Sigourney/Sigourney.csproj @@ -2,12 +2,17 @@ netstandard2.0 Sigourney - 0.2.1 + 0.3.0 A lightweight toolkit that helps easily writing .NET assembly weavers. Theodore Tsirpanis Copyright © Theodore Tsirpanis. Licensed under the MIT License. Contains some code from Fody, which is licensed under the MIT License as well. - Reword some log messages. -Remove the sentinel files when the project gets cleaned. + Expose the assembly references to MSBuild weaver tasks. + +Deprecate the sentinel API in favor of a simpler incremental build system that always works. + +Update dependencies, shrinking Sigourney package's size. + +Fix some Unix-specific bugs. https://github.com/teo-tsirpanis/Sigourney ILWeaving;Sigourney;Cecil MIT diff --git a/Sigourney/WeaverConfig.cs b/Sigourney/WeaverConfig.cs index 6bfe3e2..2deb4ba 100644 --- a/Sigourney/WeaverConfig.cs +++ b/Sigourney/WeaverConfig.cs @@ -10,10 +10,10 @@ namespace Sigourney { /// - /// A class containing configuration data for a . + /// A class containing optional configuration that is passed to . /// - /// The necessary ones are typically provided by MSBuild, - /// but custom applications can give their own. + /// It is automaticallly created by MSBuild but standalone + /// applications using Sigourney can use their own. public class WeaverConfig { /// diff --git a/test.ps1 b/test.ps1 index 7ec1d22..dd84512 100755 --- a/test.ps1 +++ b/test.ps1 @@ -1,5 +1,5 @@ #! /usr/bin/env pwsh -# This little script runs Sigourney's test project thrice to ensure it works repeatedly. +# This little script runs Sigourney's test project many times to ensure it works repeatedly. # It also keeps binary logs of each test run (which are kept as artifacts by AppVeyor). function DotnetClean {dotnet clean /v:m /nodereuse:false $TestProject}