Skip to content

Commit

Permalink
Convert Folders to Lowercase (#284)
Browse files Browse the repository at this point in the history
Convert to lower case directories to align with linux best practices.
  • Loading branch information
mwasplund authored Jan 1, 2025
1 parent d165cc5 commit a0d5acc
Show file tree
Hide file tree
Showing 739 changed files with 456 additions and 459 deletions.
92 changes: 46 additions & 46 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,114 +14,114 @@ jobs:
# Setup Environment
- uses: actions/checkout@v2
with:
path: "Soup"
path: "soup"
submodules: true
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 9.0.x
- name: Setup Soup Build
uses: soupbuild/setup-soup@v1
uses: soup-build/setup-soup@v1
with:
version: latest

# Restore Nuget
- name: DotNet Restore
run: dotnet restore ./Soup/Source/GenerateSharp/GenerateSharp.sln
run: dotnet restore ./soup/code/generate-sharp/GenerateSharp.sln

# Build Soup
- name: Soup Where
run: swhere
- name: Soup Restore Client
run: soup restore ./Soup/Source/Client/CLI/
run: soup restore ./soup/code/client/cli/
- name: Soup Build Client
run: soup build ./Soup/Source/Client/CLI/ -flavor ${{matrix.config}}
run: soup build ./soup/code/client/cli/ -flavor ${{matrix.config}}
- name: Soup Run Version
run: soup run ./Soup/Source/Client/CLI/ -flavor ${{matrix.config}} -args version
run: soup run ./soup/code/client/cli/ -flavor ${{matrix.config}} -args version
- name: Soup Restore GenerateTest
run: soup restore ./Soup/Source/GenerateTest/
run: soup restore ./soup/code/generate-test/
- name: Soup Build GenerateTest
run: soup build ./Soup/Source/GenerateTest/ -flavor ${{matrix.config}}
run: soup build ./soup/code/generate-test/ -flavor ${{matrix.config}}
# - name: Soup Restore SWhere
# run: soup restore ./Soup/Source/GenerateSharp/Swhere/
# run: soup restore ./soup/code/generate-sharp/swhere/
# - name: Soup Build SWhere
# run: soup build ./Soup/Source/GenerateSharp/Swhere/ -flavor ${{matrix.config}}
# run: soup build ./soup/code/generate-sharp/swhere/ -flavor ${{matrix.config}}
# - name: Soup Restore PackageManager
# run: soup restore ./Soup/Source/GenerateSharp/PackageManager/
# run: soup restore ./soup/code/GenerateSharp/package-manager/
# - name: Soup Build PackageManager
# run: soup build ./Soup/Source/GenerateSharp/PackageManager/ -flavor ${{matrix.config}}
# run: soup build ./soup/code/generate-sharp/package-manager/ -flavor ${{matrix.config}}
- name: Soup Restore Tools
run: soup restore ./Soup/Source/Client/Tools/
run: soup restore ./soup/code/client/tools/
- name: Soup Build Tools
run: soup build ./Soup/Source/Client/Tools/ -flavor ${{matrix.config}}
run: soup build ./soup/code/client/tools/ -flavor ${{matrix.config}}

# Build DotNet
- name: DotNet Build
run: dotnet build -c ${{matrix.config}} --no-restore ./Soup/Source/GenerateSharp/GenerateSharp.sln
run: dotnet build -c ${{matrix.config}} --no-restore ./soup/code/generate-sharp/GenerateSharp.sln
- name: DotNet Test
run: dotnet test -c ${{matrix.config}} --no-build --verbosity normal ./Soup/Source/GenerateSharp/GenerateSharp.sln
run: dotnet test -c ${{matrix.config}} --no-build --verbosity normal ./soup/code/generate-sharp/GenerateSharp.sln

# Build Tools
- name: Soup Restore PrintGraph
run: soup restore ./Soup/Source/Tools/PrintGraph/
run: soup restore ./soup/code/tools/print-graph/
- name: Soup Build PrintGraph
run: soup build ./Soup/Source/Tools/PrintGraph/ -flavor ${{matrix.config}}
run: soup build ./soup/code/tools/print-graph/ -flavor ${{matrix.config}}
- name: Soup Restore PrintResults
run: soup restore ./Soup/Source/Tools/PrintResults/
run: soup restore ./soup/code/tools/print-results/
- name: Soup Build PrintResults
run: soup build ./Soup/Source/Tools/PrintResults/ -flavor ${{matrix.config}}
run: soup build ./soup/code/tools/print-results/ -flavor ${{matrix.config}}
- name: Soup Restore PrintValueTable
run: soup restore ./Soup/Source/Tools/PrintValueTable/
run: soup restore ./soup/code/tools/print-valuetable/
- name: Soup Build PrintValueTable
run: soup build ./Soup/Source/Tools/PrintValueTable/ -flavor ${{matrix.config}}
run: soup build ./soup/code/tools/print-valuetable/ -flavor ${{matrix.config}}
- name: Soup Restore Migrate
run: soup restore ./Soup/Source/GenerateSharp/Migrate/
run: soup restore ./soup/code/generate-sharp/migrate/
- name: Soup Build Migrate
run: soup build ./Soup/Source/GenerateSharp/Migrate/ -flavor ${{matrix.config}}
run: soup build ./soup/code/generate-sharp/migrate/ -flavor ${{matrix.config}}

# Build Samples
- name: Soup Restore C BuildExtension
run: soup restore ./Soup/Samples/C/BuildExtension/Executable/
run: soup restore ./soup/samples/c/build-extension/executable/
- name: Soup Build C BuildExtension
run: soup build ./Soup/Samples/C/BuildExtension/Executable/ -flavor ${{matrix.config}}
run: soup build ./soup/samples/c/build-extension/executable/ -flavor ${{matrix.config}}
- name: Soup Build C ConsoleApplication
run: soup build ./Soup/Samples/C/ConsoleApplication/ -flavor ${{matrix.config}}
run: soup build ./soup/samples/c/console-application/ -flavor ${{matrix.config}}
- name: Soup Build C DynamicLibrary
run: soup build ./Soup/Samples/C/DynamicLibrary/Application/ -flavor ${{matrix.config}}
run: soup build ./soup/samples/c/dynamic-library/application/ -flavor ${{matrix.config}}
- name: Soup Build C StaticLibrary
run: soup build ./Soup/Samples/C/StaticLibrary/Application/ -flavor ${{matrix.config}}
run: soup build ./soup/samples/c/static-library/application/ -flavor ${{matrix.config}}
- name: Soup Build C WindowsApplication
if: matrix.os == 'windows-2022'
run: soup build ./Soup/Samples/C/WindowsApplication/ -flavor ${{matrix.config}}
run: soup build ./soup/samples/c/windows-application/ -flavor ${{matrix.config}}

- name: Soup Restore Cpp BuildExtension
run: soup restore ./Soup/Samples/C++/BuildExtension/Executable/
run: soup restore ./soup/samples/c++/build-extension/executable/
- name: Soup Build Cpp BuildExtension
run: soup build ./Soup/Samples/C++/BuildExtension/Executable/ -flavor ${{matrix.config}}
run: soup build ./soup/samples/c++/build-extension/executable/ -flavor ${{matrix.config}}
- name: Soup Build Cpp ConsoleApplication
run: soup build ./Soup/Samples/C++/ConsoleApplication/ -flavor ${{matrix.config}}
run: soup build ./soup/samples/c++/console-application/ -flavor ${{matrix.config}}
- name: Soup Build Cpp DirectX
if: matrix.os == 'windows-2022'
run: soup build ./Soup/Samples/C++/DirectX/ -flavor ${{matrix.config}}
run: soup build ./soup/samples/c++/directx/ -flavor ${{matrix.config}}
- name: Soup Build Cpp DynamicLibrary
run: soup build ./Soup/Samples/C++/DynamicLibrary/Application/ -flavor ${{matrix.config}}
run: soup build ./soup/samples/c++/dynamic-library/application/ -flavor ${{matrix.config}}
- name: Soup Build Cpp ModuleInterface
run: soup build ./Soup/Samples/C++/ModuleInterface/ -flavor ${{matrix.config}}
- name: Soup Restore Cpp ParseJsonFile
run: soup restore ./Soup/Samples/C++/ParseJsonFile/
- name: Soup Build Cpp ParseJsonFile
run: soup build ./Soup/Samples/C++/ParseJsonFile/ -flavor ${{matrix.config}}
run: soup build ./soup/samples/c++/module-interface/ -flavor ${{matrix.config}}
- name: Soup Restore Cpp ParseJson
run: soup restore ./soup/samples/c++/parse-json/
- name: Soup Build Cpp ParseJson
run: soup build ./soup/samples/c++/parse-json/ -flavor ${{matrix.config}}
- name: Soup Build Cpp StaticLibrary
run: soup build ./Soup/Samples/C++/StaticLibrary/Application/ -flavor ${{matrix.config}}
run: soup build ./soup/samples/c++/static-library/application/ -flavor ${{matrix.config}}
- name: Soup Build Cpp WindowsApplication
if: matrix.os == 'windows-2022'
run: soup build ./Soup/Samples/C++/WindowsApplication/ -flavor ${{matrix.config}}
run: soup build ./soup/samples/c++/windows-application/ -flavor ${{matrix.config}}

- name: Soup Restore CSharp BuildExtension
run: soup restore ./Soup/Samples/C#/BuildExtension/Executable/
run: soup restore ./soup/samples/c#/build-extension/executable/
- name: Soup Build CSharp BuildExtension
run: soup build ./Soup/Samples/C#/BuildExtension/Executable/ -flavor ${{matrix.config}}
run: soup build ./soup/samples/c#/build-extension/executable/ -flavor ${{matrix.config}}
- name: Soup Build CSharp ConsoleApplication
run: soup build ./Soup/Samples/C#/ConsoleApplication/ -flavor ${{matrix.config}}
run: soup build ./soup/samples/c#/console-application/ -flavor ${{matrix.config}}
- name: Soup Build CSharp Library
run: soup build ./Soup/Samples/C#/Library/Application/ -flavor ${{matrix.config}}
run: soup build ./soup/samples/c#/library/application/ -flavor ${{matrix.config}}
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# Visual Studio
.vs/
packages/
bin/
obj/
*.user

# VSCode
.vscode/settings.json
Expand All @@ -18,4 +14,4 @@ wix/
.antlr/

# Avalonia
.avalonia-build-tasks/
.avalonia-build-tasks/
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "",
"program": "${workspaceFolder}/out/msbuild/bin/Swhere/Debug/net9.0/linux-x64/Swhere.dll",
"program": "${workspaceFolder}/out/msbuild/bin/swhere/Debug/net9.0/linux-x64/Swhere.dll",
"args": [],
"cwd": "${workspaceFolder}",
"stopAtEntry": false,
Expand Down
12 changes: 0 additions & 12 deletions Scripts/Windows/generate-languagereference-lexer.cmd

This file was deleted.

14 changes: 0 additions & 14 deletions Scripts/Windows/generate-sml-antlr.cmd

This file was deleted.

12 changes: 0 additions & 12 deletions Scripts/Windows/generate-sml-lexer.cmd

This file was deleted.

18 changes: 0 additions & 18 deletions Scripts/Windows/release.cmd

This file was deleted.

8 changes: 0 additions & 8 deletions Source/GenerateSharp/Migrate/Properties/launchSettings.json

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Version: 5
Closures: {
Root: {
'C++': {
'Monitor.Host': { Version: '../Monitor/Host/', Build: 'Build0', Tool: 'Tool0' }
'Monitor.Shared': { Version: '../Monitor/Shared/', Build: 'Build0', Tool: 'Tool0' }
'Monitor.Host': { Version: '../monitor/host/', Build: 'Build0', Tool: 'Tool0' }
'Monitor.Shared': { Version: '../monitor/shared/', Build: 'Build0', Tool: 'Tool0' }
'Soup.BenchTests': { Version: './', Build: 'Build0', Tool: 'Tool0' }
'Soup.Core': { Version: '../Client/Core/', Build: 'Build1', Tool: 'Tool0' }
'Soup.Core': { Version: '../client/core/', Build: 'Build1', Tool: 'Tool0' }
'mwasplund|CryptoPP': { Version: 1.2.4, Build: 'Build0', Tool: 'Tool0' }
'mwasplund|Detours': { Version: 4.0.12, Build: 'Build0', Tool: 'Tool0' }
'mwasplund|Opal': { Version: 0.11.5, Build: 'Build0', Tool: 'Tool0' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Version: 1.0.0
Type: 'Executable'
Dependencies: {
Runtime: [
'../Client/Core/'
'../client/core/'
]
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ Closures: {
'mwasplund|libseccomp': { Version: 2.5.8, Build: 'Build3', Tool: 'Tool0' }
}
'C++': {
'Monitor.Host': { Version: '../../Monitor/Host/', Build: 'Build0', Tool: 'Tool0' }
'Monitor.Shared': { Version: '../../Monitor/Shared/', Build: 'Build0', Tool: 'Tool0' }
'Monitor.Host': { Version: '../../monitor/host/', Build: 'Build0', Tool: 'Tool0' }
'Monitor.Shared': { Version: '../../monitor/shared/', Build: 'Build0', Tool: 'Tool0' }
Soup: { Version: './', Build: 'Build0', Tool: 'Tool0' }
'Soup.Core': { Version: '../Core/', Build: 'Build1', Tool: 'Tool0' }
'Soup.Generate': { Version: '../../Generate/', Build: 'Build0', Tool: 'Tool0' }
copy: { Version: '../../Tools/Copy/', Build: 'Build0', Tool: 'Tool0' }
mkdir: { Version: '../../Tools/Mkdir/', Build: 'Build0', Tool: 'Tool0' }
'Soup.Core': { Version: '../core/', Build: 'Build1', Tool: 'Tool0' }
'Soup.Generate': { Version: '../../generate/', Build: 'Build0', Tool: 'Tool0' }
copy: { Version: '../../tools/copy/', Build: 'Build0', Tool: 'Tool0' }
mkdir: { Version: '../../tools/mkdir/', Build: 'Build0', Tool: 'Tool0' }
'mwasplund|CryptoPP': { Version: 1.2.4, Build: 'Build0', Tool: 'Tool0' }
'mwasplund|Detours': { Version: 4.0.12, Build: 'Build0', Tool: 'Tool0' }
'mwasplund|Opal': { Version: 0.11.5, Build: 'Build0', Tool: 'Tool0' }
Expand Down
20 changes: 10 additions & 10 deletions Source/Client/CLI/Recipe.sml → code/client/cli/Recipe.sml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@ Version: 0.41.2
Language: 'C++|0'
Type: 'Executable'
Source: [
'Source/Main.cpp'
'source/Main.cpp'
]
IncludePaths: [
'Source/Commands/'
'Source/Options/'
'source/commands/'
'source/options/'
]
Dependencies: {
# Ensure the core build extensions are runtime dependencies
Runtime: [
'../Core/'
'../../Generate/'
'../../Monitor/Host/'
'../core/'
'../../generate/'
'../../monitor/host/'
]
Other: [
'../../Tools/Copy/'
'../../Tools/Mkdir/'
'../../tools/copy/'
'../../tools/mkdir/'
'[Wren]Soup|Wren@0'
]
Build: [
Expand All @@ -30,9 +30,9 @@ Dependencies: {
}
Tests: {
Source: [
'UnitTests/gen/Main.cpp'
'tests/gen/Main.cpp'
]
IncludePaths: [
'UnitTests/'
'tests/'
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,30 +45,30 @@ using namespace Opal;
#include <spawn.h>
#include <sys/wait.h>

#include "Utilities/Path.h"
#include "Utilities/SemanticVersion.h"
#include "IO/SystemConsoleManager.h"
#include "Logger/Log.h"
#include "Logger/ConsoleTraceListener.h"
#include "System/LinuxProcessManager.h"
#include "System/STLFileSystem.h"
#include "System/STLSystem.h"
#include "utilities/Path.h"
#include "utilities/SemanticVersion.h"
#include "io/SystemConsoleManager.h"
#include "logger/Log.h"
#include "logger/ConsoleTraceListener.h"
#include "system/LinuxProcessManager.h"
#include "system/STLFileSystem.h"
#include "system/STLSystem.h"

using namespace Opal;

// import CryptoPP
#include "Interface.h"

// import Monitor.Host
#include "Linux/LinuxMonitorProcessManager.h"
#include "linux/LinuxMonitorProcessManager.h"

// import Soup.Core
#include <cstring>
#include <regex>
#include <set>
#include <variant>
#include "Build/BuildEngine.h"
#include "Package/PackageManager.h"
#include "build/BuildEngine.h"
#include "package/PackageManager.h"

#endif

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit a0d5acc

Please sign in to comment.