Some debug info

This commit is contained in:
Roberto Alsina 2024-07-04 23:38:44 -03:00
parent 2df4e01d45
commit 33cd8be45b

View File

@ -5,8 +5,11 @@ module Faaso
# Creates a new empty funko out of a given runtime
struct New
@@known : Array(String) = {{`find ./runtimes -type d -mindepth 1`.split('\n').reject(&.empty?)}}
@@filelist : Array(String) = {{`find ./runtimes -type f -mindepth 1`.split('\n').reject(&.empty?)}}
def run(options, folder)
Log.debug { "@@known: #{@@known}"}
Log.debug { "@@filelist: #{@@filelist}"}
if options["-r"].as(String) == "list"
Log.info { "Crystal has some included runtimes:\n" }
@@known.each do |runtime|