File tree Expand file tree Collapse file tree 4 files changed +5
-40
lines changed
Expand file tree Collapse file tree 4 files changed +5
-40
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,8 @@ RUN set -ex; \
2727 dotnet restore; \
2828# Copy all the necessary files to bin/
2929 dotnet build --no-restore; \
30- # Remove obj/ to get the verbose output to extract reference paths
31- rm -rf bin/Debug/net6.0/run.pdb obj; \
32- # Append reference paths to `cnfig.rsp`
33- dotnet run --verbosity normal | grep '\- r:' >> config.rsp; \
3430# Sanity check
35- fsc @config.rsp Preloaded.fs Solution.fs Tests.fs Program.fs; \
36- dotnet bin/Debug/net6.0/run.dll; \
31+ dotnet run; \
3732# Remove examples
3833 rm Preloaded.fs Solution.fs Tests.fs bin/Debug/net6.0/run.dll;
3934
Original file line number Diff line number Diff line change 88W=/workspace
99
1010# Create container
11- # Note that Program.fs must come last
12- C=$( docker container create --rm -w $W $IMAGE sh -c " fsc @config.rsp Preloaded.fs Solution.fs Tests.fs Program.fs && dotnet run bin/Debug/net6.0/run.dll" )
11+ C=$( docker container create --rm -w $W $IMAGE dotnet run)
1312
1413# Copy files from the examples directory
1514docker container cp examples/${1:- passing} /. $C :$W
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66 </PropertyGroup >
77
88 <ItemGroup >
9+ <Compile Include =" Preloaded.fs" />
10+ <Compile Include =" Solution.fs" />
11+ <Compile Include =" Tests.fs" />
912 <Compile Include =" Program.fs" />
1013 </ItemGroup >
1114
You can’t perform that action at this time.
0 commit comments