<commit_before># DotNetBuild, a C# build system

## What is this?

DotNetBuild is a build system written in C#. A build system allows you to automate your work by scripting all repetitive actions into executable tasks.

[![Build status](https://ci.appveyor.com/api/projects/status/16k7hn5av5c7tuiv)](https://ci.appveyor.com/project/StevenLauwers/dotnetbuild)

## Why yet another 'Make' alternative?

Within the .NET eco-system builds are often automated with the help of MSBuild scripts. I have used MSBuild extensively during the last few years but I never had a lot of joy in writing MSBuild scripts. Using a markup language (XML) to create build scripts never felt right to me.

You're probably thinking now:

> XML is so 90s. You should've used gulp! gulp is cool, new and fancy. JS for the win!

Yeah, I know and you're probably right. Gulp is a great tool.
Anyway things are the way they are. So yes, I created a new 'Make', my apologies to [Hadi Hariri](http://hadihariri.com/2014/04/21/build-make-no-more/)

The reason I created this is twofold:

- Primarely, I wanted to be able to use a real programming languages (.NET ) instead of a markup language (XML) to create build scripts.
- It started off as an experiment and a technical challange for myself, but I got some very positive feedback so I decided to publish it

Because DotNetBuild is [built on the shoulders of a giant](http://en.wikipedia.org/wiki/Standing_on_the_shoulders_of_giants) (the .NET Framework), we can write build scripts in a language we already know and benefit of the power and features the framework gives us.

## What does it look like?

There are several ways to writing DotNetBuild scripts. I prefer the fluent API that the [scriptcs](http://scriptcs.net/) runner offers me.
Here's an example:

```C#
var dotNetBuild = Require<DotNetBuildScriptPackContext>();<commit_msg>Fix typographical error(s)<commit_after># DotNetBuild, a C# build system

## What is this?

DotNetBuild is a build system written in C#. A build system allows you to automate your work by scripting all repetitive actions into executable tasks.

[![Build status](https://ci.appveyor.com/api/projects/status/16k7hn5av5c7tuiv)](https://ci.appveyor.com/project/StevenLauwers/dotnetbuild)

## Why yet another 'Make' alternative?

Within the .NET eco-system builds are often automated with the help of MSBuild scripts. I have used MSBuild extensively during the last few years but I never had a lot of joy in writing MSBuild scripts. Using a markup language (XML) to create build scripts never felt right to me.

You're probably thinking now:

> XML is so 90s. You should've used gulp! gulp is cool, new and fancy. JS for the win!

Yeah, I know and you're probably right. Gulp is a great tool.
Anyway things are the way they are. So yes, I created a new 'Make', my apologies to [Hadi Hariri](http://hadihariri.com/2014/04/21/build-make-no-more/)

The reason I created this is twofold:

- Primarely, I wanted to be able to use a real programming languages (.NET ) instead of a markup language (XML) to create build scripts.
- It started off as an experiment and a technical challenge for myself, but I got some very positive feedback so I decided to publish it

Because DotNetBuild is [built on the shoulders of a giant](http://en.wikipedia.org/wiki/Standing_on_the_shoulders_of_giants) (the .NET Framework), we can write build scripts in a language we already know and benefit of the power and features the framework gives us.

## What does it look like?

There are several ways to writing DotNetBuild scripts. I prefer the fluent API that the [scriptcs](http://scriptcs.net/) runner offers me.
Here's an example:

```C#
var dotNetBuild = Require<DotNetBuildScriptPackContext>();
{'fraction_non_alphanumeric': 0.07393517278328422, 'fraction_numerical': 0.008572193945888026, 'mean_word_length': 4.4352256186317325, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3536175', 'n_tokens_mistral': 1090, 'n_tokens_neox': 1024, 'n_words': 531}