Small workflow fix

This commit is contained in:
Robert Jelic
2025-03-10 03:19:07 +01:00
parent c94d0c31b9
commit 651c777b99
3 changed files with 3 additions and 8 deletions

View File

@@ -29,10 +29,7 @@ jobs:
run: |
lua tools/generate-config.lua
# Step 2: Generate LuaLS Definitions
- name: Generate LuaLS
run: |
lua tools/annotationParser.lua src/elements src/LuaLS.lua
# Step 3: Bundle and Minify
- name: Bundle and Minify

3
.gitignore vendored
View File

@@ -5,4 +5,5 @@ test.xml
ascii.lua
tests
testWorkflows
.vscode
.vscode
generate-annotations.lua

View File

@@ -109,11 +109,8 @@ local function getParentProperties(parentClass, allClasses)
end
local function generateClassContent(className, properties, combinedProperties, events, allClasses)
-- Parent-Klasse finden
local parentClass = findParentClass(content)
-- Properties der Elternklasse(n) holen
local inheritedProps = getParentProperties(parentClass, allClasses)
-- Mit eigenen Properties kombinieren
for _, prop in ipairs(inheritedProps) do
table.insert(properties, prop)
end