Skip to content

Commit e3675cb

Browse files
SchlenkRSchlenkR
SchlenkR
authored and
SchlenkR
committed
Enable Dsl.CE2.fs compilation in FsHttp.fsproj
1 parent f4489fe commit e3675cb

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/FsHttp/Dsl.CE2.fsx renamed to src/FsHttp/Dsl.CE2.fs

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
#if INTERACTIVE
12
#r "./bin/Debug/net6.0/FsHttp.dll"
2-
open FsHttp
3+
#else
4+
module FsHttp.DslCEPreview
5+
#endif
36

7+
open FsHttp
48

59
// ---------
610
// Builder
@@ -452,6 +456,7 @@ module MultipartElement =
452456

453457

454458

459+
#if INTERACTIVE
455460

456461
http {
457462
POST "https://github.com/CuminAndPotato/PXL-JAM"
@@ -493,3 +498,6 @@ let res =
493498
// textPart "Lamm" "hurz2"
494499
// textPart "schrie" "hurz3"
495500
}
501+
502+
503+
#endif

src/FsHttp/FsHttp.fsproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<Compile Include="FsiInit.fs" />
2727
<Compile Include="Dsl.fs" />
2828
<Compile Include="Dsl.CE.fs" />
29-
<!-- <Compile Include="Dsl.CE2.fs" /> -->
29+
<Compile Include="Dsl.CE2.fs" />
3030
<Compile Include="Operators.fs" />
3131
<Compile Include="Extensions.fs" />
3232
</ItemGroup>

0 commit comments

Comments
 (0)