Skip to content

Commit 29cc6da

Browse files
committed
WIP1
1 parent b0b195b commit 29cc6da

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

build.cmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
@echo off
2+
where /q dotnet6
3+
if ERRORLEVEL 1 (
4+
echo "ERROR: 'dotnet' not found. Please ensure you have installed .NETv6 or newer" && exit /b 1
5+
)
26
rem change the target via -t, e.g.:
37
rem build -t PackNuget
48
cls

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ if test "$OS" = "Windows_NT"
33
then
44
cmd /C build.cmd
55
else
6+
which dotnet6 > /dev/null || { echo "ERROR: 'dotnet' not found. Please ensure you have installed .NETv6" >&2;
67
dotnet tool restore
78
dotnet paket restore
89
#dotnet fsi build.fsx -t Build $@

0 commit comments

Comments
 (0)