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..beacf632 --- /dev/null +++ b/GUI2.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +dotnet run --project EDSEditorGUI2 --property WarningLevel=0 "$@" diff --git a/GUITests/GUITests.csproj b/GUITests/GUITests.csproj index 499faeae..01f91805 100644 --- a/GUITests/GUITests.csproj +++ b/GUITests/GUITests.csproj @@ -3,23 +3,18 @@ net8.0 enable enable - + Exe + GUITests false true + - - - - - - - - - - + + + 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..e681c0e4 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -3,7 +3,8 @@ net481 net8.0 net481;net8.0 - Library + Exe + Tests false @@ -19,19 +20,8 @@ Always + + + - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - \ No newline at end of file +