blob: 30649eac2fb4c22672f4efdec9d671882e6c9f7e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
-- This variable is `local`, meaning Divina cannot see it.
--
--- @type string
local name = "greet-" .. tostring(os.time())
-- This variable is **not** `local`, Divina can see it.
--
--- @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[]
Package = {
name = name,
version = "0.1.0",
description = "Greet me!",
compile_options = {},
-- The `Divina` table is a special table that you can access anywhere from
-- the `Divina.lua` script. It contains all sorts of important information.
--
-- Here we are setting our `minimum_divina_version` to `Divina.version`.
minimum_divina_version = Divina.version,
sources = {
"Main.asm",
},
type = Divina.Type.Bin,
arch = Divina.Arch.x64,
}
-- http://lua-users.org/wiki/ModulesTutorial
return Package
|