This commit is contained in:
Robert Jelic
2025-02-16 15:37:12 +01:00
parent e37ea625f0
commit 83fba2b5e1
2 changed files with 14 additions and 8 deletions

View File

@@ -32,8 +32,20 @@ jobs:
# Step 2: Generate LuaLS Definitions
- name: Generate LuaLS
run: |
cd $GITHUB_WORKSPACE
lua tools/annotationParser.lua src/elements src/LuaLS.lua
echo "Current directory: $PWD"
echo "Listing tools directory:"
ls -la tools/
echo "Listing src/elements directory:"
ls -la src/elements/
# Ensure the script is executable
chmod +x tools/annotationParser.lua
# Run with full path and debug output
lua tools/annotationParser.lua "$(pwd)/src/elements" "$(pwd)/src/LuaLS.lua"
# Check if file was created
ls -la src/LuaLS.lua || echo "File not created!"
# Step 3: Bundle and Minify
- name: Bundle and Minify