Small workflow fix
This commit is contained in:
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@@ -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
3
.gitignore
vendored
@@ -5,4 +5,5 @@ test.xml
|
||||
ascii.lua
|
||||
tests
|
||||
testWorkflows
|
||||
.vscode
|
||||
.vscode
|
||||
generate-annotations.lua
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user