Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Tests Project to Compile with Dotnet Build #38

Merged
merged 2 commits into from
Sep 23, 2018

Conversation

iwillspeak
Copy link
Collaborator

This means that the tests can now be run with $ dotnet test.

From a clean checkout, with the dotnet SDK 2.1.4xx I run:

$ cd src/
$ dotnet build --configuration Release
$ dotnet test DocoptNet.Tests

To generate the package you can either pack with dotnet ( $ dotnet pack src/Docopt) or use the existing nuget file ($ nuget pack src/NuGet/docopt.net.nuspec)

@iwillspeak iwillspeak force-pushed the build-fixlings branch 2 times, most recently from eaf243f to 7fb41bd Compare September 21, 2018 06:29
@iwillspeak
Copy link
Collaborator Author

I'm happy with this build now. Am I good to squash and merge it @voieducode ?

@voieducode
Copy link
Member

voieducode commented Sep 22, 2018 via email

@iwillspeak iwillspeak force-pushed the build-fixlings branch 3 times, most recently from 65b53fd to d56bed4 Compare September 23, 2018 06:39
@iwillspeak
Copy link
Collaborator Author

Squashed and version bumped.

Makes the tests runnable with `dotnet test` and updates the packaging
to use the new `dotnet pack` format so that metadata is read directly
from the csproj. This means that a `nuspec` file is no longer needed
and project reference metadata can't get out of sync with the actual
build.

 * Update Tests Project to Compile with Dotnet Build.

   This means that the tests can now be run with `$ dotnet test`.

 * Update the pack to use the `.csproj`. This should reduce the
   duplication of metadata.
Update the version from `0.6.1.9` to `0.6.1.10`.
@iwillspeak iwillspeak merged commit e3ce487 into docopt:master Sep 23, 2018
@iwillspeak iwillspeak deleted the build-fixlings branch September 23, 2018 06:50
@voieducode
Copy link
Member

Thanks for the contribution, nuget package uploaded!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants