Skip to content

Commit 2cca85d

Browse files
committed
Rename .paket bootstrap subfolder to fix CI
The default case for Mac&Linux builds seemed to be to try to run mono, which these days we can say is an old tech. By renaming this folder we can see that the new versions of .NET (as in .NETCore, which got renamed back again to ".NET" in v5) can build fine.
1 parent 872300a commit 2cca85d

File tree

5 files changed

+11
-2
lines changed

5 files changed

+11
-2
lines changed
File renamed without changes.

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
[![Join the chat at https://gitter.im/fsprojects/SQLProvider](https://badges.gitter.im/fsprojects/SQLProvider.svg)](https://gitter.im/fsprojects/SQLProvider?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
77

8-
A general .NET/Mono SQL database type provider. Current features :
8+
A general .NET SQL database type provider. Current features :
99
* LINQ queries
1010
* Lazy schema exploration
1111
* Automatic constraint navigation
@@ -45,9 +45,13 @@ additional samples and documentation!
4545

4646
## Building [![Build status](https://github.com/fsprojects/SQLProvider/actions/workflows/CI.yml/badge.svg?branch=master&event=push)](https://github.com/fsprojects/SQLProvider/actions?query=branch%3Amaster)
4747

48-
* Mono: Run *build.sh*
48+
* Linux/macOS: Run *build.sh*
4949
* Windows: Run *build.cmd*
5050

51+
(Note: both scripts above use the `dotnet` command underneath; if you need to build
52+
with .NETFramework v4.x or Mono, rename the '.paket_netfx' to '.paket' first, before
53+
restoring & building manually with paket and msbuild.)
54+
5155
## Known issues
5256

5357
- Database vendors other than SQL Server and Access use dynamic assembly loading. This

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 dotnet
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 dotnet > /dev/null || { echo "ERROR: 'dotnet' not found. Please ensure you have installed .NETv6 or newer" >&2 && exit 1; }
67
dotnet tool restore
78
dotnet paket restore
89
#dotnet fsi build.fsx -t Build $@

0 commit comments

Comments
 (0)