[REBOL] Re: Building scripts
From: nitsch-lists:netcologne at: 22-Jan-2002 22:00
RE: [REBOL] Building scripts
iam working on this too some times ;-)
my best solution is:
1) copy all scripts locally. keep the url and the original source and look for a good
diff.
(is windiff now somewhere deep on the cd?).
keep three dirs, modified, used original, newest-original,
so you can see what changes and addapt it.
newest-original can be updated by rebol then automatic.
quick:
insert-downloader copy-url click-right desktop-icon ;-)
2) let the script do the building work.
at the beginning of script
do/args %my-build-pack.r [do file] ;based on carls %build-pack.r
/embed[your source here]
%my-build-pack .r has a list of all sub-scripts
and builds the target, then does its debug-argument.
so you dont test different version (for example in/out-script-images).
use some marker like /embed .
in carls script instead of his loading for example:
something like
<- script: load/all file
-> script: compose
[ REBOL (reduce [script/2] ) (select script /embed) ]
then at %build-pack.r end
do system/script/args
so you can give some test-code for after building.
with simple do its 'none, so build only ;-)
http://www.reboltech.com/library/scripts/build-pack.r
and
http://jove.prohosting.com/~screbol/reb/build-pack-i.r
that also has a little "follow 'needs" code inside.
but thats currently style-r. my monitor grows to 17 with it..
-Volker
[brett--codeconscious--com] wrote: