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; \
27
27
dotnet restore; \
28
28
# Copy all the necessary files to bin/
29
29
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; \
34
30
# 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; \
37
32
# Remove examples
38
33
rm Preloaded.fs Solution.fs Tests.fs bin/Debug/net6.0/run.dll;
39
34
Original file line number Diff line number Diff line change 8
8
W=/workspace
9
9
10
10
# 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)
13
12
14
13
# Copy files from the examples directory
15
14
docker container cp examples/${1:- passing} /. $C :$W
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
9
+ <Compile Include =" Preloaded.fs" />
10
+ <Compile Include =" Solution.fs" />
11
+ <Compile Include =" Tests.fs" />
9
12
<Compile Include =" Program.fs" />
10
13
</ItemGroup >
11
14
You can’t perform that action at this time.
0 commit comments