Skip to content

Latest commit

 

History

703 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

Several useful msbuild tasks.

NuGet version (SIL.BuildTasks) Build, Test and Pack

Current Tasks

Task Description
CreateChangelogEntry Given a Changelog file, this task will add an entry to the debian changelog.
CreateReleaseNotesHtml Given a markdown-style changelog file, this class will generate a release notes HTML file.
StampChangelogFileWithVersion Replaces the first line in a markdown-style Changelog/Release file with the version and date.
SetReleaseNotesProperty Given a markdown-style changelog file, this class will set a property to the changes mentioned in the topmost release.
Task Description
Archive Create a tar archive from a set of files.
CpuArchitecture Return the CPU architecture of the current system.
DownloadFile Download a file from a web address.
FileUpdate Replace text in a file by regular expression, optionally substituting the current date.
MakePot Generate a gettext POT template from strings in C# and XML files.
MakeWixForDirTree Generate a WiX fragment describing the files in a directory tree.
NormalizeLocales Drops country code from directories and filenames to help work with Crowdin
NUnit Run NUnit (v2) on a test assembly.
NUnit3 Run NUnit3 on a test assembly.
Split Split a string on a delimiter and return one of the parts.
StampAssemblies Write version numbers into AssemblyInfo source files.
UnixName Determine the Unix Name of the operating system executing the build.
UpdateBuildTypeFile Set the build type in a source file's version-type enum.
Task Description
S3BuildPublisher Publish a set of files to an S3 bucket.

Build

Windows or Linux

Install the latest .NET SDK from https://dotnet.microsoft.com/download .

Build and run tests:

dotnet pack --configuration Release SIL.ReleaseTasks.Dogfood/SIL.ReleaseTasks.Dogfood.csproj
dotnet test

Building a local package of SIL.BuildTasks for testing (Windows)

  1. Run the Pack build command from inside Visual Studio on the SIL.ReleaseTasks.Dogfood project
  2. Run the Pack build command from inside Visual Studio on the SIL.BuildTasks project
  3. Install the package from the output folder into your local Nuget source e.g.nuget.exe add output/Debug/SIL.BuildTasks.3.3.0.nupkg -Source /c/Repositories/DevelopmentPackages/

About

Several useful msbuild tasks

Topics

Resources

Stars

5 stars

Watchers

20 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages