darb / 0.2
| Short description: | DATA-Archived Ruby Script | |||||
|---|---|---|---|---|---|---|
| Category: | Application/Package management | |||||
| Status: | alpha | |||||
| Created: | 2005-08-13 18:52:23 GMT | |||||
| Last update: | 2005-08-13 18:53:37 GMT | |||||
| Owner: | Joel VanderWerf (Projects of this owner) | |||||
| Homepage: | http://redshift.sourceforge.net/darb/ | |||||
| Download: | http://redshift.sourceforge.net/darb/ | |||||
| License: | Ruby's | |||||
| Dependency: |
|
|||||
| Description: | Combines a main script and a list of library files it requires into a single script file. The library files are embedded in the DATA section of this script and loaded on demand using a custom implementation of require that reads from DATA. Synopsis$ cat main.rb require 'foo' require 'bar' p $LOADED_FEATURES[-2,2] $ touch foo.rb bar.rb $ darb main.rb foo.rb bar.rb >arc.rb $ rm foo.rb bar.rb $ ruby arc.rb ["foo.rb", "bar.rb"] Changes since 0.1:
Still broken:
|
|||||
| Versions: | [0.3 (2006-04-29)] [0.2 (2005-08-13)] | |||||