Test
This commit is contained in:
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
@@ -32,8 +32,20 @@ jobs:
|
|||||||
# Step 2: Generate LuaLS Definitions
|
# Step 2: Generate LuaLS Definitions
|
||||||
- name: Generate LuaLS
|
- name: Generate LuaLS
|
||||||
run: |
|
run: |
|
||||||
cd $GITHUB_WORKSPACE
|
echo "Current directory: $PWD"
|
||||||
lua tools/annotationParser.lua src/elements src/LuaLS.lua
|
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
|
# Step 3: Bundle and Minify
|
||||||
- name: Bundle and Minify
|
- name: Bundle and Minify
|
||||||
|
|||||||
@@ -197,12 +197,6 @@ function basalt.run(isActive)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Starts the Basalt runtime
|
|
||||||
--- @param isActive? boolean Whether to start active (default: true)
|
|
||||||
--- @usage basalt.autoUpdate()
|
|
||||||
--- @usage basalt.autoUpdate(false)
|
|
||||||
basalt.autoUpdate = basalt.run
|
|
||||||
|
|
||||||
function basalt.getAPI(name)
|
function basalt.getAPI(name)
|
||||||
return elementManager.getAPI(name)
|
return elementManager.getAPI(name)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user