Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Sep 2, 2022
1 parent 5463c1e commit 1b6a8ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ See the official [@nfdi4plants/web-components docs](https://nfdi4plants.github.i
- Tests can be found in `tests`.

1. Make changes to library and add unit tests.
2. Run `.\build.cmd releasenotes semver:xxx`, where `xxx` can be minor, major or patch.
2. Run `.\build.cmd releasenotes semver:xxx`, where `xxx` can be minor, major or patch. (This will also update the version in `package.json` inside the template project.)
3. Run `.\build.cmd release`. This will:
- Run tests
- Build the library
- Create a nuget package and copy it to the client test folder.
- Create a nuget packages for both the library and the template and copy the library-.nupkg to the client test folder.
4. Update nuget reference for library to new version.
- In `client\loaders\_lib.fsx`.
- 👀 It might be necessary to clear nuget cache if the version was not changed for it to update.
Expand Down
2 changes: 1 addition & 1 deletion build/PackageTasks.fs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ open System.IO
/// copy the fresh nuget packages to fornax test client dependency folder
let copy_nupkg() =
// copy the fresh nuget packages to fornax test client dependency folder
let files = Directory.GetFiles(pkgDir, "*.nupkg")
let files = Directory.GetFiles(pkgDir, "*.nupkg") |> Array.filter (fun x -> x.Contains "Nfdi4Plants.Fornax.Template" |> not)
Trace.trace "Copy .nupkg files to test client dependency folder"
files |> Array.iter (fun x ->
let fileName = Path.GetFileName(x)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
<NoBuild>true</NoBuild>
<TargetFramework>net5.0</TargetFramework>
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
<!--https://docs.microsoft.com/en-us/dotnet/core/tutorials/cli-templates-create-template-package-->
<!-- https://docs.microsoft.com/en-us/dotnet/core/tutorials/cli-templates-create-template-package -->
<IncludeContentInPack>true</IncludeContentInPack>
<IncludeBuildOutput>false</IncludeBuildOutput>
<ContentTargetFolders>content</ContentTargetFolders>
<NoWarn>$(NoWarn);NU5128</NoWarn>
<NoDefaultExcludes>true</NoDefaultExcludes>
</PropertyGroup>
<PropertyGroup>
<Title>Nfdi4Plants.Fornax.Template</Title>
Expand Down

0 comments on commit 1b6a8ce

Please sign in to comment.