Convenience for working with packages

Project:GNU Smalltalk
Component:VM
Category:feature
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

gst could have an option to load a package, like ruby -r somelib does.

Also apparently, using packages requires to install them in some global location first (or ~/.st) but it would be nice if packages could be loaded from the current directory or from besides the image file too.

I attach that to VM but a 'tools' components would make sense for issue tracking.

Updates

#1 submitted by Paolo Bonzini on Sat, 04/25/2009 - 10:34

Yes, "gst -P Blah" could be useful. I'm not sure of the semantics, should it be the same as gst-load or gst-reload?

> Also apparently, using packages requires to install them in some global location first (or ~/.st)

The image directory is supported too (not the current directory). This is used to load packages from the build directory when builddir != srcdir, for example, so it's not bitrotten definitely. :-)

#2 submitted by Paolo Bonzini on Sat, 07/11/2009 - 11:11

Damien, could you look up http://smalltalk.gnu.org/project/issue/288 and comment on it?

#3 submitted by Paolo Bonzini on Sun, 05/02/2010 - 07:36
Status:active» won't fix

Marking as won't fix; gst-sunit has package support and that's where it matters 99% of the time. Maybe later if something like "gst -e" is implemented.

User login