10 lines
344 B
Text
10 lines
344 B
Text
--!strict
|
|
local fs = require("@lune/fs")
|
|
local serde = require("@lune/serde")
|
|
local types = require("./types")
|
|
|
|
local manifest_contents = fs.readFile("jecs/pesde.toml")
|
|
local manifest: types.PesdeManifest = serde.decode("toml", manifest_contents) or error("Couldn't decode manifest.")
|
|
local jecs_version = manifest.version
|
|
|
|
print(jecs_version)
|