You can add your own vocabulary root, and if you put it in .factor-boot-rc then 
it will get run every time you bootstrap:

USE: vocabs.loader
"/Users/erg/sekrets" add-vocab-root

Doug

On Aug 19, 2011, at 8:26 AM, Andrew Pennebaker wrote:

> Is there an import command that doesn't require moving my files into the 
> Factor work directory?
> 
> I like version controlling my scripts and it would be a pain to copy them 
> from my git directory over to work and back.
> 
> Cheers,
> 
> Andrew Pennebaker
> www.yellosoft.us
> 
> On Fri, Aug 19, 2011 at 3:28 AM, John Benediktsson <mrj...@gmail.com> wrote:
> Hi Andrew,
> 
> It would help if you attached some code, but you should be able to get your 
> code to work if you put the files in the "work" folder of Factor like this:
> 
> /work/ant/ant.factor
> /work/antfarm/antfarm.factor
> 
> When you "USE: ant", it will look through the vocabulary roots ("core", 
> "basis", "extra", "work", etc.) for a directory "ant" with an "ant.factor" 
> file in it.
> 
> Best,
> John.
> 
> 
> On Thu, Aug 18, 2011 at 10:14 PM, Andrew Pennebaker 
> <andrew.penneba...@gmail.com> wrote:
> ant.factor contains code manipulating ant objects.
> 
> antfarm.factor is a demo of a hundred ants.
> 
> How does antfarm.factor import code from ant.factor? I tried USING: ant ; but 
> Factor complains Vocabulary does not exist name "ant".
> 
> Cheers,
> 
> Andrew Pennebaker
> www.yellosoft.us
> 
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> user administration capabilities and model configuration. Take
> the hassle out of deploying and managing Subversion and the
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
> 
> 
> 
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> user administration capabilities and model configuration. Take
> the hassle out of deploying and managing Subversion and the
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
> 
> 
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
> user administration capabilities and model configuration. Take 
> the hassle out of deploying and managing Subversion and the 
> tools developers use with it. 
> http://p.sf.net/sfu/wandisco-d2d-2_______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to