The scaffold tools help automate the process of creating proper Factor workspaces for development.
First, incorporate the Scaffold tools in your environment and instruct them to create a workspace for new development.
USE: tools.scaffold "resource:work" "my-cool-project" scaffold-vocab
These commands will instruct Factor to create an initial source file for your work, as well as an initial stub for a test suite, and an author file. The
In fact, if you add the following to your
USING: namespaces tools.scaffold ; "My Name" \ developer-name set-global
You can edit any of the files produced by the call to
P" resource:work/my-cool-project/my-cool-project.factor" edit-file
Note: This assumes you have configured the Editor integration.
This revision created on Tue, 14 Jul 2009 18:22:30 by mncharity (+pointer to docs.factorcode scaffold article. +note wiki article isn't quite right.)
All content is © 2008-2010 by its respective authors. By adding content to this wiki, you agree to release it under the BSD license.