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

Don't require a dotnet-tools.json in every consumer project (OSOE-883) #69

Open
Piedone opened this issue Jul 13, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@Piedone
Copy link
Member

Piedone commented Jul 13, 2024

In a consumer theme project, if you want to use Lombiq.Hosting.MediaTheme.Deployer during build to automatically build a deployment package, you need to add a .config/dotnet-tools.json file like this:

{
  "version": 1,
  "isRoot": true,
  "tools": {
    "lombiq.hosting.mediatheme.deployer": {
      "version": "3.0.0-alpha.5.nest-407",
      "commands": [
        "media-theme-deploy"
      ]
    }
  }
}

This also includes a reference to Lombiq.Hosting.MediaTheme.Deployer's version, something you have to manually keep up-to-date.

Instead, let's get rid of requiring every consumer project such a file somehow. Perhaps we can have only a single file in Lombiq.Hosting.MediaTheme.Targets? Note that this should work even if all the Media Theme projects are consumed from NuGet.

Jira issue

@Piedone Piedone added the enhancement New feature or request label Jul 13, 2024
@github-actions github-actions bot changed the title Don't require a dotnet-tools.json in every consumer project Don't require a dotnet-tools.json in every consumer project (OSOE-883) Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant