From 03a7e9e57650608349f6f1bd69f133366c5129a7 Mon Sep 17 00:00:00 2001 From: Geoffroy Du Prey Date: Thu, 13 Nov 2025 16:48:00 +0100 Subject: [PATCH 1/2] [FEAT] Suggested posix compatibility changes --- CLI.sh | 3 +++ GUI2.sh | 3 +++ GUITests/GUITests.csproj | 11 +++++++---- TESTS.sh | 10 ++++++++++ Tests/Tests.csproj | 21 +++++++-------------- 5 files changed, 30 insertions(+), 18 deletions(-) create mode 100755 CLI.sh create mode 100755 GUI2.sh create mode 100755 TESTS.sh diff --git a/CLI.sh b/CLI.sh new file mode 100755 index 00000000..4a1322a1 --- /dev/null +++ b/CLI.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +dotnet run --project EDSSharp --framework net8.0 --property WarningLevel=0 "$@" diff --git a/GUI2.sh b/GUI2.sh new file mode 100755 index 00000000..e43647ff --- /dev/null +++ b/GUI2.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +dotnet run --project EDSEditorGUI2 --framework net8.0 --property WarningLevel=0 "$@" diff --git a/GUITests/GUITests.csproj b/GUITests/GUITests.csproj index 499faeae..6cabeb44 100644 --- a/GUITests/GUITests.csproj +++ b/GUITests/GUITests.csproj @@ -1,18 +1,17 @@ + net8.0 enable enable - + Exe + GUITests false true - - - @@ -21,5 +20,9 @@ + + + + diff --git a/TESTS.sh b/TESTS.sh new file mode 100755 index 00000000..94002076 --- /dev/null +++ b/TESTS.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +COLOR='\033[38;5;21m' +BG='\033[47m' +WHITE='\033[0;32m' + +echo ${BG}${COLOR}"LIB and CLI tests:"${WHITE} +dotnet run --project Tests --framework net8.0 --property WarningLevel=0 +echo ${BG}${COLOR}"GUI tests:"${WHITE} +dotnet run --project GUITests --framework net8.0 --property WarningLevel=0 diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index 5fa46514..7ef1ea85 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -3,7 +3,9 @@ net481 net8.0 net481;net8.0 - Library + enable + Exe + Tests false @@ -21,17 +23,8 @@ - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + + + - \ No newline at end of file + From 2b8d2d8a35d90867c4de5ac7600f847f3e743326 Mon Sep 17 00:00:00 2001 From: Geoffroy Du Prey Date: Mon, 1 Dec 2025 09:31:20 +0100 Subject: [PATCH 2/2] [CONF] Applied suggestions, removed useless parts. --- GUI2.sh | 2 +- GUITests/GUITests.csproj | 10 +--------- Tests/Tests.csproj | 3 --- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/GUI2.sh b/GUI2.sh index e43647ff..beacf632 100755 --- a/GUI2.sh +++ b/GUI2.sh @@ -1,3 +1,3 @@ #!/bin/sh -dotnet run --project EDSEditorGUI2 --framework net8.0 --property WarningLevel=0 "$@" +dotnet run --project EDSEditorGUI2 --property WarningLevel=0 "$@" diff --git a/GUITests/GUITests.csproj b/GUITests/GUITests.csproj index 6cabeb44..01f91805 100644 --- a/GUITests/GUITests.csproj +++ b/GUITests/GUITests.csproj @@ -1,5 +1,4 @@ - net8.0 enable @@ -11,18 +10,11 @@ + - - - - - - - - diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index 7ef1ea85..e681c0e4 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -3,7 +3,6 @@ net481 net8.0 net481;net8.0 - enable Exe Tests false @@ -21,8 +20,6 @@ Always - -