This repo provides a Q# Compiler extension that can strip code samples from API docs and turn them into unit tests.
A short description of the motivation behind the creation and maintenance of the project. This should explain why the project exists.
Build status of continuous integration i.e. travis, appveyor etc. Ex. -
If you're using any code style like xo, standard etc. That will help others while contributing to your project. Ex. -
Include logo/demo screenshot etc.
Ex. -
Built with
What makes your project stand out?
Show what the library does as concisely as possible, developers should be able to figure out how your project solves their problem by looking at the code example. Make sure the API you are showing off is obvious, and that your code is short and concise.
Provide step by step series of examples and explanations about how to get a development env running.
Depending on the size of the project, if it is small and simple enough the reference docs can be added to the README. For medium size to larger projects it is important to at least provide a link to where the API reference docs live.
Describe and show how to run the tests with code examples.
If people like your project they’ll want to learn how they can use it. To do so include step by step guide to use your project.
Let people know how they can contribute into your project. A contributing guideline will be a big plus.
Give proper credits. This could be a link to any repo which inspired you to build this project, any blogposts or links to people who contrbuted in this project.
A short snippet describing the license (MIT, Apache etc)
MIT © Q# Community
This project contains a template for packaging a Q# compiler extension. For more information about Q# compiler extensions see here. For more information on NuGet packages, see here.
Prerequisites: NuGet tools
To create the package, follow the following steps:
- From within the project directory, run
dotnet build
. - From within the project directory, run
nuget pack
. - Copy the created .nupkg file into you local NuGet folder.
- You can now use that package like any other NuGet package.
In order to use the created package as a Q# compiler extension when building a Q# project, add the following package reference to your project file:
<PackageReference Include="CustomExtension.Package" Version="1.0.0" IsQscReference="true" />
The extension will only be included in the build process ifIsQscReference
is set to true
. For more information, see this readme.