From c98a43e3d507d0adbf9ee0da92ba6da7c6e4e6a1 Mon Sep 17 00:00:00 2001 From: Justin Webb Date: Fri, 9 Apr 2021 20:54:54 +0200 Subject: [PATCH] Further 2021 cleanup/refactor. (#2) --- .gitattributes | 1 + build.sh | 6 +++--- {src/generator => generator}/.gitignore | 0 {src/generator => generator}/Generator.cs | 0 {src/generator => generator}/GeneratorEGL.cs | 0 {src/generator => generator}/GeneratorGL.cs | 0 {src/generator => generator}/GeneratorGLES.cs | 0 {src/generator => generator}/GeneratorGLX.cs | 0 {src/generator => generator}/GeneratorWGL.cs | 0 {src/generator => generator}/Program.cs | 0 {src/generator => generator}/wrangle-gl-generator.csproj | 0 report.txt | 0 12 files changed, 4 insertions(+), 3 deletions(-) rename {src/generator => generator}/.gitignore (100%) rename {src/generator => generator}/Generator.cs (100%) rename {src/generator => generator}/GeneratorEGL.cs (100%) rename {src/generator => generator}/GeneratorGL.cs (100%) rename {src/generator => generator}/GeneratorGLES.cs (100%) rename {src/generator => generator}/GeneratorGLX.cs (100%) rename {src/generator => generator}/GeneratorWGL.cs (100%) rename {src/generator => generator}/Program.cs (100%) rename {src/generator => generator}/wrangle-gl-generator.csproj (100%) delete mode 100644 report.txt diff --git a/.gitattributes b/.gitattributes index efdba87..f96cac3 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,3 @@ * text=auto *.sh text eol=lf +*.sln text eol=crlf diff --git a/build.sh b/build.sh index cda622b..1614d0f 100644 --- a/build.sh +++ b/build.sh @@ -19,13 +19,13 @@ cp -R egl-registry/api/KHR include cp -R egl-registry/api/*.xml . rm -Rf egl-registry -# Generate wrangle-gl headers/sources. +# Generate headers/sources. rm -f include/wrangle-*.h rm -f src/wrangle-*.cpp -pushd src/generator +pushd generator dotnet build popd -src/generator/bin/Debug/netcoreapp3.1/wrangle-gl-generator.exe +./generator/bin/Debug/netcoreapp3.1/wrangle-gl-generator cp ./wrangle-*.h include/ cp ./wrangle-*.cpp src/ rm -f ./wrangle-*.h ./wrangle-*.cpp ./*.xml diff --git a/src/generator/.gitignore b/generator/.gitignore similarity index 100% rename from src/generator/.gitignore rename to generator/.gitignore diff --git a/src/generator/Generator.cs b/generator/Generator.cs similarity index 100% rename from src/generator/Generator.cs rename to generator/Generator.cs diff --git a/src/generator/GeneratorEGL.cs b/generator/GeneratorEGL.cs similarity index 100% rename from src/generator/GeneratorEGL.cs rename to generator/GeneratorEGL.cs diff --git a/src/generator/GeneratorGL.cs b/generator/GeneratorGL.cs similarity index 100% rename from src/generator/GeneratorGL.cs rename to generator/GeneratorGL.cs diff --git a/src/generator/GeneratorGLES.cs b/generator/GeneratorGLES.cs similarity index 100% rename from src/generator/GeneratorGLES.cs rename to generator/GeneratorGLES.cs diff --git a/src/generator/GeneratorGLX.cs b/generator/GeneratorGLX.cs similarity index 100% rename from src/generator/GeneratorGLX.cs rename to generator/GeneratorGLX.cs diff --git a/src/generator/GeneratorWGL.cs b/generator/GeneratorWGL.cs similarity index 100% rename from src/generator/GeneratorWGL.cs rename to generator/GeneratorWGL.cs diff --git a/src/generator/Program.cs b/generator/Program.cs similarity index 100% rename from src/generator/Program.cs rename to generator/Program.cs diff --git a/src/generator/wrangle-gl-generator.csproj b/generator/wrangle-gl-generator.csproj similarity index 100% rename from src/generator/wrangle-gl-generator.csproj rename to generator/wrangle-gl-generator.csproj diff --git a/report.txt b/report.txt deleted file mode 100644 index e69de29..0000000