Skip to content

Commit fb06914

Browse files
test(csipfs): smoke test
1 parent df903b0 commit fb06914

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

IpfsCli/IpfsCli.csproj

+3-7
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88
<AssemblyName>csipfs</AssemblyName>
99
<RootNamespace>Ipfs.Cli</RootNamespace>
1010

11-
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1211
<PackAsTool>true</PackAsTool>
1312
<ToolCommandName>csipfs</ToolCommandName>
13+
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
14+
<IsPackable>true</IsPackable>
15+
<IsShippingPackage>true</IsShippingPackage>
1416

1517
<!-- developer build is always 0.42 -->
1618
<AssemblyVersion>0.42</AssemblyVersion>
@@ -25,16 +27,10 @@
2527
<PackageReleaseNotes>https://github.com/richardschneider/net-ipfs-engine/releases</PackageReleaseNotes>
2628
<Copyright>© 2018-2019 Richard Schneider</Copyright>
2729
<PackageTags>ipfs peer-to-peer p2p distributed file-system web</PackageTags>
28-
<IncludeSymbols>True</IncludeSymbols>
2930
<PackageProjectUrl>https://github.com/richardschneider/net-ipfs-engine</PackageProjectUrl>
3031
<PackageIconUrl>https://raw.githubusercontent.com/richardschneider/net-ipfs-core/master/doc/images/ipfs-cs-logo-64x64.png</PackageIconUrl>
3132
</PropertyGroup>
3233

33-
<PropertyGroup>
34-
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
35-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
36-
</PropertyGroup>
37-
3834
<ItemGroup>
3935
<PackageReference Include="Common.Logging" Version="3.4.1" />
4036
<PackageReference Include="Ipfs.Http.Client" Version="0.31.0" />

appveyor.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ build_script:
4646

4747
test_script:
4848
- dotnet test --logger "console;verbosity=normal" -c %CONFIGURATION% --no-build --no-restore test
49+
- dotnet tool install --global --ignore-failed-sources --add-source .\IpfsCli\bin\Release csipfs
50+
- csipfs --help
4951

5052
after_test:
5153
# Generate coverage report
@@ -67,9 +69,9 @@ after_test:
6769
- if defined git_token gh-pages -d doc\_site -m "new docs %GitVersion_FullSemVer%"
6870

6971
artifacts:
70-
- path: 'src/**/*.nupkg'
72+
- path: './**/*.nupkg'
7173
name: nupkg
72-
- path: 'src/**/*.snupkg'
74+
- path: './**/*.snupkg'
7375
name: snupkg
7476

7577
# publish NuGet package on tag build

0 commit comments

Comments
 (0)