From 9ebc1e2e7694487b840dc70f6b8c908e4b4c78c6 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 7 Feb 2022 12:39:46 +0000 Subject: =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20divinaland/docum?= =?UTF-8?q?entation@4fc0c1278b0a79ce01e8446833bc0ce33493dbec=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- about.html | 4 ++ index.html | 4 ++ manifest-format.html | 120 ++++++++++++++++++++++++++++++++++++++++++ manifest-format/examples.html | 53 +++++++++++++++++++ 4 files changed, 181 insertions(+) create mode 100644 manifest-format.html create mode 100644 manifest-format/examples.html diff --git a/about.html b/about.html index 1f4dcf2..83ef643 100644 --- a/about.html +++ b/about.html @@ -28,6 +28,10 @@ diff --git a/index.html b/index.html index a28a400..03734b1 100644 --- a/index.html +++ b/index.html @@ -30,6 +30,10 @@ diff --git a/manifest-format.html b/manifest-format.html new file mode 100644 index 0000000..0fb42ad --- /dev/null +++ b/manifest-format.html @@ -0,0 +1,120 @@ + + + + + + Manifest Format — Divina + + + + + + + +
+

Divina

+ +

🎀 A modern build system for assembly

+ + +

Version 0.1.0

+ + +
+
+
+

Manifest Format — Divina

+ +
+
+

+Rules +

+ +

+Divina Exposed Globals +

+
+--- @class Divina
+--- @field public version string Installed Divina version
+--- @field public Type table<string, number> Package type
+--- @field public Arch table<string, number> Architecture to compile for
+Divina = {
+  version,
+  Type = {
+    Bin = 1,
+    Lib = 2,
+  },
+  Arch = {
+    x86 = 1,
+    x64 = 2,
+  },
+}
+
+--- @return void
+function test() end
+
+

+Workspace Manifest Format +

+
+--- @class Workspace
+--- @field public members string[]
+Workspace = {
+  members,
+}
+
+

+Package Manifest Format +

+
+--- @class Package
+--- @field public name string
+--- @field public version string
+--- @field public description string
+--- @field public compile_options string[]
+--- @field public minimum_divina_version string
+--- @field public sources string[]
+--- @field public compiler string
+Package = {
+  name,
+  version,
+  description,
+  compile_options,
+  minimum_divina_version,
+  sources,
+  type,
+  arch,
+  compiler,
+}
+
+
+ + + diff --git a/manifest-format/examples.html b/manifest-format/examples.html new file mode 100644 index 0000000..a9492b1 --- /dev/null +++ b/manifest-format/examples.html @@ -0,0 +1,53 @@ + + + + + + Manifest Format — Examples — Divina + + + + + + + +
+

Divina

+ +

🎀 A modern build system for assembly

+ + +

Version 0.1.0

+ + +
+
+
+

Manifest Format — Examples — Divina

+ +
+
+

Examples for package manifests can be found within the Divina root repository +examples directory, +and an example for a workspace manifest can be found within the root Divina repository, named +Divina.lua.

+
+ + + -- cgit v1.2.3