aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Taskfile.yaml9
-rw-r--r--src/PkiAuthenticator.csproj22
2 files changed, 20 insertions, 11 deletions
diff --git a/Taskfile.yaml b/Taskfile.yaml
index 8ab7be3..8b6b737 100644
--- a/Taskfile.yaml
+++ b/Taskfile.yaml
@@ -66,10 +66,8 @@ tasks:
vars:
BUILD_DIR: "{{.USER_WORKING_DIR}}/bin/{{.BUILD_MODE}}/{{.TARGET_FRAMEWORK}}/{{.TARGET_OS}}/publish"
internal: true
- cmds:
-
+ cmds:
#copy license and readme to target
- - cd .. && powershell -Command "Copy-Item -Path ./LICENSE.txt -Destination '{{.BUILD_DIR}}/license.txt'"
- cd .. && powershell -Command "Copy-Item -Path ./build.readme.txt -Destination '{{.BUILD_DIR}}/readme.txt'"
#tar outputs
@@ -79,8 +77,7 @@ tasks:
#Remove the output dirs on clean
clean:
dir: '{{.USER_WORKING_DIR}}'
+ ignore_error: true
cmds:
- cmd: powershell Remove-Item -Recurse './bin'
- ignore_error: true
- - cmd: powershell Remove-Item -Recurse './obj'
- ignore_error: true \ No newline at end of file
+ - cmd: powershell Remove-Item -Recurse './obj' \ No newline at end of file
diff --git a/src/PkiAuthenticator.csproj b/src/PkiAuthenticator.csproj
index b46036d..1aded49 100644
--- a/src/PkiAuthenticator.csproj
+++ b/src/PkiAuthenticator.csproj
@@ -15,19 +15,31 @@
<Authors>Vaughn Nugent</Authors>
<Company>Vaughn Nugent</Company>
<Product>PkiAuthenticator aka vauth</Product>
- <Description>
- A command line tool for generating certificate-based, signed, One-Time-Passwords for web/service authentication, with YubiKey support by default.
- </Description>
+ <Description>A command line tool for generating certificate-based, signed, One-Time-Passwords for web/service authentication, with YubiKey support by default.</Description>
<Copyright>Copyright © 2023 Vaughn Nugent</Copyright>
<PackageProjectUrl>https://www.vaughnnugent.com/resources/software/modules/vauth</PackageProjectUrl>
<RepositoryUrl>https://github.com/VnUgE/PkiAuthenticator</RepositoryUrl>
+ <PackageReadmeFile>README.md</PackageReadmeFile>
+ <PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
</PropertyGroup>
+
+ <ItemGroup>
+ <None Include="..\LICENSE.txt">
+ <Pack>True</Pack>
+ <PackagePath>\</PackagePath>
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </None>
+ <None Include="..\README.md">
+ <Pack>True</Pack>
+ <PackagePath>\</PackagePath>
+ </None>
+ </ItemGroup>
<ItemGroup>
<PackageReference Include="Serilog" Version="3.0.1" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.1.0" />
- <PackageReference Include="VNLib.Hashing.Portable" Version="0.1.0-ci0070" />
- <PackageReference Include="VNLib.Utils" Version="0.1.0-ci0070" />
+ <PackageReference Include="VNLib.Hashing.Portable" Version="0.1.0-ci0080" />
+ <PackageReference Include="VNLib.Utils" Version="0.1.0-ci0080" />
<PackageReference Include="Yubico.YubiKey" Version="1.8.0" />
</ItemGroup>