From 7ab04a6690e6ff1a151c8c930be2c935cb037b3e Mon Sep 17 00:00:00 2001 From: Jan-Eric Nitschke <47750513+JanEricNitschke@users.noreply.github.com> Date: Tue, 17 Sep 2024 07:09:45 +0200 Subject: [PATCH] Restructure, fix readme and ci --- .github/workflows/fsharp.yaml | 8 ++------ README.md | 4 +--- tictactoe_fsharp/{TicTacToe => }/Program.fs | 0 tictactoe_fsharp/{TicTacToe => }/TicTacToe.fsproj | 0 4 files changed, 3 insertions(+), 9 deletions(-) rename tictactoe_fsharp/{TicTacToe => }/Program.fs (100%) rename tictactoe_fsharp/{TicTacToe => }/TicTacToe.fsproj (100%) diff --git a/.github/workflows/fsharp.yaml b/.github/workflows/fsharp.yaml index c5aad7f..0eb71f3 100644 --- a/.github/workflows/fsharp.yaml +++ b/.github/workflows/fsharp.yaml @@ -19,10 +19,6 @@ jobs: - name: Setup dotnet uses: actions/setup-dotnet@v4 - name: Build - run: dotnet build Tictactoe.Lib - - name: Test - run: dotnet test Tictactoe.Tests + run: dotnet build - name: Run - run: | - cd Tictactoe.Prog - dotnet run -- -X 4 -O 4 + run: dotnet run -- -X 4 -O 4 diff --git a/README.md b/README.md index f4f9d8f..c6d1469 100644 --- a/README.md +++ b/README.md @@ -441,9 +441,7 @@ Version using [F#](https://fsharp.org/). To compile and run: ```bash -dotnet build Tictactoe.Lib -dotnet test Tictactoe.Tests -cd Tictactoe.Prog +dotnet build dotnet run -- -X 4 -O 4 ``` diff --git a/tictactoe_fsharp/TicTacToe/Program.fs b/tictactoe_fsharp/Program.fs similarity index 100% rename from tictactoe_fsharp/TicTacToe/Program.fs rename to tictactoe_fsharp/Program.fs diff --git a/tictactoe_fsharp/TicTacToe/TicTacToe.fsproj b/tictactoe_fsharp/TicTacToe.fsproj similarity index 100% rename from tictactoe_fsharp/TicTacToe/TicTacToe.fsproj rename to tictactoe_fsharp/TicTacToe.fsproj