Talk:Rp

From Organic Design wiki
Revision as of 22:22, 30 August 2006 by Nad (talk | contribs) (fixed)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Testing

Doing some testing on darwin. I'm finding the filesync is still creating .c files even though you changed them to .h ?

Line 71: %articles = $fileSync =~ /<li>.+?title="(.+?)">(.+?)<\/a>/g;

It seems like the second group capure is ignored, but realy this should be used to name the target file, as specified in the sync list. --Rob 10:15, 31 Aug 2006 (NZST)

rp's fine it just syncs them to the cwd, the problem was I had only changed the anchor names in Bender/fileSync not the article names. --Nad 10:22, 31 Aug 2006 (NZST)


Usage

This script is used to manage the running and compiling of peerd instances. There are a few command line options now which are explained here: --Nad 12:31, 23 Jul 2006 (NZST)

rp
By itself rp will syncronise all the scripts listed in the peerd section of Bender/fileSync, then attempt to recompile the peerd husk. If successful, the currently running instances are killed, and then a new instance started. If the compile stage has any errors or even warnings, no processes will be killed or started.


rp l
This simply lists the currently running instances and then exits.


rp k
This lists and kills the currently running instances, then exits.


rp c
This option skips the syncronisation of any files and goes directly to the compile stage.


rp script1.c script2.c...
Specifying one or more names of C script-articles will cause rp to sync only those and not check the Bender/fileSync list.