###############################################################################
#
# pkgIndex.tcl -- Eagle Package for Tcl (Garuda)
#
# Extensible Adaptable Generalized Logic Engine (Eagle)
# Package Index File
#
# Copyright (c) 2007-2012 by Joe Mistachkin.  All rights reserved.
#
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# RCS: @(#) $Id: $
#
###############################################################################

if {![package vsatisfies [package provide Tcl] 8.4]} then {return}
if {[string length [package provide Eagle]] > 0} then {return}

package ifneeded HelloWorld 1.0 [list apply [list { dir } {
  set command [list exec]
  if {![isWindows]} then {lappend command mono}
  lappend command [file join $dir HelloWorld.exe]
  puts stdout [eval $command]
  package provide HelloWorld 1.0
}] $dir]
