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

[dotnes.compiler] now a .NET global tool #45

Merged
merged 1 commit into from
Sep 13, 2024
Merged

Conversation

jonathanpeppers
Copy link
Owner

This also has various cleanup:

  • dotnes.compiler is now a .NET global tool

  • dotnes.compiler no longer references MSBuild assemblies, I just made it link in the required source files.

  • Consolidate NuGet settings in NuGet.props

  • Renamed the Tasks folder to MSBuild

To test the tool, after a build:

> dotnet tool install -g dotnes.compiler --add-source .\bin\Debug\ --prerelease
You can invoke the tool using the following command: dotnes
Tool 'dotnes.compiler' (version '0.1.1-alpha') was successfully installed.

Then you can just run it via:

> dotnes
Usage: dotnes.exe mydll.dll chr_generic.s

This also has various cleanup:

* `dotnes.compiler` is now a .NET global tool

* `dotnes.compiler` no longer references MSBuild assemblies, I just
made it link in the required source files.

* Consolidate NuGet settings in `NuGet.props`

* Renamed the `Tasks` folder to `MSBuild`

To test the tool, after a build:

    > dotnet tool install -g dotnes.compiler --add-source .\bin\Debug\ --prerelease
    You can invoke the tool using the following command: dotnes
    Tool 'dotnes.compiler' (version '0.1.1-alpha') was successfully installed.

Then you can just run it via:

    > dotnes
    Usage: dotnes.exe mydll.dll chr_generic.s
@jonathanpeppers jonathanpeppers merged commit 731bd0d into main Sep 13, 2024
1 check passed
@jonathanpeppers jonathanpeppers deleted the dotnes.compiler branch September 13, 2024 19:14
@jonathanpeppers jonathanpeppers mentioned this pull request Sep 13, 2024
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.

1 participant