pkgIndex.tcl at [3a25d976e3]
Not logged in

File packages/tcl/8.4/msil/HelloWorld1.0/pkgIndex.tcl artifact 0595e45b40 part of check-in 3a25d976e3


###############################################################################
#
# 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]