Skip to content

installers.lang.crystallib #

fn check #

fn check() !

check if crystallibs installed and hero, if not do so

fn hero_compile #

fn hero_compile(args InstallArgs) !

fn hero_install #

fn hero_install(args InstallArgs) !

fn install #

fn install(args InstallArgs) !

fn uninstall #

fn uninstall() !

remove hero, crystal, ...

struct InstallArgs #

@[params]
struct InstallArgs {
pub mut:
	git_pull  bool
	git_reset bool
	reset     bool // means reinstall
}