Skip to content

Commit

Permalink
define constant SAILSRS07
Browse files Browse the repository at this point in the history
  • Loading branch information
vobradovich committed Dec 6, 2024
1 parent fd73e00 commit 6cc5b3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions net/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@

<PropertyGroup>
<SubstrateNetApiVersion>[0.9.24-rc8]</SubstrateNetApiVersion>
<!-- Temp override -->
<SubstrateNetApiVersionOverride>[0.9.23]</SubstrateNetApiVersionOverride>
<!-- Set constant to use sails-rs 0.7.0 and node 1.7.0 -->
<DefineConstants Condition="'$(SubstrateNetApiVersionOverride)' == ''">SAILSRS07</DefineConstants>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public sealed class SailsFixture : Testing.XUnit.Fixtures.SailsFixture
{
public SailsFixture()
#if SailsPackagesVersionOverride
#if SAILSRS07
: base("demo-client-tests", "0.7.0")
#else
: base("demo-client-tests", "0.6.3")
Expand Down

0 comments on commit 6cc5b3c

Please sign in to comment.