feat: work on completing the lua scripting capabilities
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
1 parent
6d86d0ce3f
commit
67ecc5ab3d
8 files changed
+3664
-26
No files matched your search
@@ -0,0 +1,14 @@
|
||||
defmodule Mix.Tasks.Bds.ApiDocs do
|
||||
use Mix.Task
|
||||
|
||||
@shortdoc "Generate API.md from the Lua scripting contract"
|
||||
|
||||
@impl Mix.Task
|
||||
def run(_args) do
|
||||
Mix.Task.run("app.start")
|
||||
|
||||
path = Path.expand("API.md", File.cwd!())
|
||||
File.write!(path, BDS.Scripting.ApiDocs.render())
|
||||
Mix.shell().info("Wrote #{path}")
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user