#! /bin/env tclsh

package ifneeded ycl::twyst 0.1 [list apply {{dir} {
	package require ycl::package
	[yclprefix]::package::source twyst \
		 [file join $dir lib twyst.tcl] 
	package provide ycl::twyst 0.1
}} $dir]

package ifneeded ycl::twyst::control 0.1 [list apply {{dir} {
	package require ycl::package
	[yclprefix]::package::source twyst::control \
		 [file join $dir lib control.tcl] 
	package provide ycl::twyst::control 0.1
}} $dir]

package ifneeded ycl::twyst::storage 0.1 [list apply {{dir} {
	package require ycl::package
	[yclprefix]::package::source twyst::storage \
		 [file join $dir lib storage.tcl] 
	package provide ycl::twyst::storage 0.1
}} $dir]

package ifneeded ycl::twyst::dispatch 0.1 [list apply {{dir} {
	package require ycl::package
	[yclprefix]::package::source twyst::dispatch \
		 [file join $dir lib dispatch.tcl] 
	package provide ycl::twyst::dispatch 0.1
}} $dir]

package ifneeded ycl::twyst::sql 0.1 [list apply {{dir} {
	package require ycl::package
	[yclprefix]::package::source twyst::sql \
		 [file join $dir lib sql.tcl] 
	package provide ycl::twyst::sql 0.1
}} $dir]

package ifneeded ycl::twyst::ui 0.1 [list apply {{dir} {
	package require ycl::package
	[yclprefix]::package::source twyst::ui \
		 [file join $dir lib ui.tcl] 
	package provide ycl::twyst::ui 0.1
}} $dir]

package ifneeded ycl::twyst::ui::console 0.1 [list apply {{dir} {
	package require ycl::package
	[yclprefix]::package::source twyst::ui::console \
		 [file join $dir lib ui_console.tcl] 
	package provide ycl::twyst::ui::console 0.1
}} $dir]
