view tests/test_resources.nim @ 227:297bffdf3d94

add: better support for array members
author Sam <sam@basx.dev>
date Mon, 15 May 2023 23:51:06 +0700
parents b5d9410a8184
children 5f6d3511ef79
line wrap: on
line source

import std/times

import semicongine

proc main() =
  echo "Mods available: ", modList()
  for modName in modList():
    echo modName, ":"
    selectedMod = modName
    for i in walkResources():
      echo "  ", i, ": ", loadResource(i)[]

when isMainModule:
  main()