From 83fba2b5e161d3bb4f80b1cc0e47ed2c1b069808 Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Sun, 16 Feb 2025 15:37:12 +0100 Subject: [PATCH] Test --- .github/workflows/main.yml | 16 ++++++++++++++-- src/main.lua | 6 ------ 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3b47bcc..09b0c0c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/src/main.lua b/src/main.lua index fc80a5a..0a28916 100644 --- a/src/main.lua +++ b/src/main.lua @@ -197,12 +197,6 @@ function basalt.run(isActive) 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) return elementManager.getAPI(name) end