diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7004ef4..3b47bcc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,12 +27,12 @@ jobs: # Step 1: Config Generation - name: Generate Config run: | - cd $GITHUB_WORKSPACE - lua tools/annotationParser.lua src/elements src/LuaLS.lua + lua tools/generate-config.lua # Step 2: Generate LuaLS Definitions - name: Generate LuaLS run: | + cd $GITHUB_WORKSPACE lua tools/annotationParser.lua src/elements src/LuaLS.lua # Step 3: Bundle and Minify diff --git a/src/main.lua b/src/main.lua index 0a28916..fc80a5a 100644 --- a/src/main.lua +++ b/src/main.lua @@ -197,6 +197,12 @@ 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