Yes, SmallTalk ARchives They
work, but they need support in the
build system so that packages are installed as STARs.
A .star file must have the same name as the package it
contains except
for the extension. It must include a package.xml file
(singular, not
plural). It cannot contain .so modules as these have to be
installed
separately. To load it, we use the VFS functionality.
Tested by building a MD5.star package:
$ zip -9 ../+build/MD5.star md5.st md5tests.st package.xml
where package.xml is this:
<package>
<name>MD5</name>
<sunit>MD5Test</sunit>
<prereq>SUnit</prereq>
<filein>md5.st</filein>
<filein>md5tests.st</filein>
<module>md5</module>
<file>md5.st</file>
<file>md5tests.st</file>
</package>
and doing this:
((((PackageLoader refresh; instVarAt: 14) instVarAt: 1) at:
3) at: #MD5)
primFileIn
Don't you all love encapsulation?
Paolo
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|