Skip to content

Commit

Permalink
Merge pull request #613 from SAFE-Stack/auto-dotnet-tool-restore
Browse files Browse the repository at this point in the history
Do `dotnet tool restore` automatically in build target
  • Loading branch information
Larocceau authored Jun 14, 2024
2 parents e8677f3 + e7cabac commit d6ce051
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Build.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@
</ItemGroup>

<Import Project=".paket\Paket.Restore.targets" />
<Target Name="DotNetToolRestore" BeforeTargets="PaketRestore">
<Exec Command="dotnet tool restore" />
</Target>
</Project>
3 changes: 3 additions & 0 deletions Content/default/Build.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@
<None Include="paket.references" />
</ItemGroup>
<Import Project=".paket\Paket.Restore.targets" />
<Target Name="DotNetToolRestore" BeforeTargets="PaketRestore">
<Exec Command="dotnet tool restore" />
</Target>
</Project>
6 changes: 0 additions & 6 deletions Content/default/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ You'll need to install the following pre-requisites in order to build SAFE appli

## Starting the application

Before you run the project **for the first time only** you must install dotnet "local tools" with this command:

```bash
dotnet tool restore
```

To concurrently run the server and the client components in watch mode use the following command:

```bash
Expand Down

0 comments on commit d6ce051

Please sign in to comment.