ligershark / dotnet-new-ui

Helps you install and manage project templates while also helping to create projects from templates.
MIT License
21 stars 3 forks source link

Failure on initial cake build due to missing dist folder #107

Open maximerassi opened 1 year ago

maximerassi commented 1 year ago

Describe the bug

On a first-time clone, dotnet cake fails due to missing folder "Frontend/dist" https://github.com/ligershark/dotnet-new-ui/blob/main/build.cake#LL10C41-L10C42

Steps to reproduce

  1. Clone
  2. Run dotnet cake

Expected behaviour

Proposed Fix

  1. add .gitignore under Frontend/dist
  2. update Frontend/.gitignore with
/dist
!/dist/.gitignore
RehanSaeed commented 1 year ago

Thanks for raising. I'd accept a PR to fix this if you're interested.

RehanSaeed commented 1 year ago

There is a guide below on how to submit a pull request if you're interested. You first have to create a fork of this repo, make the change in a branch on your form and then submit a pull request from the branch on the fork.

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request