From 91cff02d290627aef81425632e63149037c3f673 Mon Sep 17 00:00:00 2001 From: Anthony Cicchetti Date: Thu, 28 Apr 2022 18:06:37 -0400 Subject: [PATCH] Upgrade F# and dotnet --- .gitignore | 1 - App.sln | 4 +--- global.json | 7 +++++++ justfile | 8 ++++++++ src/App.fsproj | 3 ++- 5 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 global.json create mode 100644 justfile diff --git a/.gitignore b/.gitignore index 525f076..f10cc79 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -public/ # Node node_modules/ diff --git a/App.sln b/App.sln index 0b7fa6f..5c8c1a3 100644 --- a/App.sln +++ b/App.sln @@ -15,9 +15,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution package-lock.json = package-lock.json package.json = package.json README.md = README.md - webpack.common.js = webpack.common.js - webpack.config.js = webpack.config.js - webpack.tests.js = webpack.tests.js + justfile = justfile EndProjectSection EndProject Global diff --git a/global.json b/global.json new file mode 100644 index 0000000..87aef9f --- /dev/null +++ b/global.json @@ -0,0 +1,7 @@ +{ + "sdk": { + "version": "6.0.0", + "rollForward": "latestMajor", + "allowPrerelease": false + } +} \ No newline at end of file diff --git a/justfile b/justfile new file mode 100644 index 0000000..3108704 --- /dev/null +++ b/justfile @@ -0,0 +1,8 @@ +build: + pnpm run start + +setup: + dotnet tool restore + npm i -g pnpm + pnpm i + dotnet femto ./src diff --git a/src/App.fsproj b/src/App.fsproj index 354bfd1..c136c31 100644 --- a/src/App.fsproj +++ b/src/App.fsproj @@ -1,6 +1,6 @@ - net5.0 + net6.0 @@ -18,5 +18,6 @@ + \ No newline at end of file