From e3675cb256185c7df55407321874ad2e4e43bf06 Mon Sep 17 00:00:00 2001 From: SchlenkR Date: Sat, 21 Dec 2024 16:23:51 +0100 Subject: [PATCH] Enable Dsl.CE2.fs compilation in FsHttp.fsproj --- src/FsHttp/{Dsl.CE2.fsx => Dsl.CE2.fs} | 10 +++++++++- src/FsHttp/FsHttp.fsproj | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) rename src/FsHttp/{Dsl.CE2.fsx => Dsl.CE2.fs} (99%) diff --git a/src/FsHttp/Dsl.CE2.fsx b/src/FsHttp/Dsl.CE2.fs similarity index 99% rename from src/FsHttp/Dsl.CE2.fsx rename to src/FsHttp/Dsl.CE2.fs index 3fd41a52..9e9f4c92 100644 --- a/src/FsHttp/Dsl.CE2.fsx +++ b/src/FsHttp/Dsl.CE2.fs @@ -1,6 +1,10 @@ +#if INTERACTIVE #r "./bin/Debug/net6.0/FsHttp.dll" -open FsHttp +#else +module FsHttp.DslCEPreview +#endif +open FsHttp // --------- // Builder @@ -452,6 +456,7 @@ module MultipartElement = +#if INTERACTIVE http { POST "https://github.com/CuminAndPotato/PXL-JAM" @@ -493,3 +498,6 @@ let res = // textPart "Lamm" "hurz2" // textPart "schrie" "hurz3" } + + +#endif diff --git a/src/FsHttp/FsHttp.fsproj b/src/FsHttp/FsHttp.fsproj index 3c93f04d..c97eafe1 100644 --- a/src/FsHttp/FsHttp.fsproj +++ b/src/FsHttp/FsHttp.fsproj @@ -26,7 +26,7 @@ - +