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: |
|
run: |
|
||||||
lua tools/generate-config.lua
|
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
|
# Step 3: Bundle and Minify
|
||||||
- name: Bundle and Minify
|
- name: Bundle and Minify
|
||||||
|
|||||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -5,4 +5,5 @@ test.xml
|
|||||||
ascii.lua
|
ascii.lua
|
||||||
tests
|
tests
|
||||||
testWorkflows
|
testWorkflows
|
||||||
.vscode
|
.vscode
|
||||||
|
generate-annotations.lua
|
||||||
@@ -109,11 +109,8 @@ local function getParentProperties(parentClass, allClasses)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function generateClassContent(className, properties, combinedProperties, events, allClasses)
|
local function generateClassContent(className, properties, combinedProperties, events, allClasses)
|
||||||
-- Parent-Klasse finden
|
|
||||||
local parentClass = findParentClass(content)
|
local parentClass = findParentClass(content)
|
||||||
-- Properties der Elternklasse(n) holen
|
|
||||||
local inheritedProps = getParentProperties(parentClass, allClasses)
|
local inheritedProps = getParentProperties(parentClass, allClasses)
|
||||||
-- Mit eigenen Properties kombinieren
|
|
||||||
for _, prop in ipairs(inheritedProps) do
|
for _, prop in ipairs(inheritedProps) do
|
||||||
table.insert(properties, prop)
|
table.insert(properties, prop)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user