These are replaced by a single wrapper written in C (it is
needed to
handle -I and --kernel-directory). The same wrapper is used
also for
gst-blox for portability (on Windows we don't rely on #!
anymore). In
the build tree, gst-package will be invoked as (for example)
"./gst-tool
gst-package"; no more complications with the GST and
GST_ARGUMENTS
environment variables, and no contortions using
"eval" in the shell scripts.
The C wrapper gst-tool.c also subsumes scripts/Getopt.st,
which is gone.
It implements an option parser compatible with the
Smalltalk one (in
the Getopt class), though lacking a few features that are
not needed by
the wrapper.
This prompted to add a couple more features to the File
class, most
notably "File executable" (path to the current
executable). This is
needed to merge --load and --test into scripts/Package.st
(they were
handled by the shell script wrapper).
In the relative near future, scripts/Convert.st will also be
handled by
the same mechanism.
This more or less concludes the package implementation for
3.0 (I still
may add a couple things from Mike Anderson's PackageUtils
code).
Paolo
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|