From: Andre P. <at...@us...> - 2004-05-19 16:18:37
|
Update of /cvsroot/hoc/hoc/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7527 Modified Files: Quick_Start.pod Tools.pod Removed Files: Accessing_Core_Frameworks.pod History.pod Log Message: More documentation updates --- History.pod DELETED --- --- Accessing_Core_Frameworks.pod DELETED --- Index: Tools.pod =================================================================== RCS file: /cvsroot/hoc/hoc/docs/Tools.pod,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Tools.pod 19 May 2004 15:59:28 -0000 1.1 +++ Tools.pod 19 May 2004 16:18:28 -0000 1.2 @@ -2,7 +2,16 @@ =head2 F<hocwrap> -=head2 F<hocnewapp> +The F<hocwrap> tool takes an executable and "wraps" it in a Mac OS +X F<.app> application bundle. You'll need to tell hocwrap where the +bundle's F<Contents/> directory using the C<-c> command-line parameter. +F<hocwrap> can also run the resulting application bundle using GHCi in an +interactive fashion: more documentation about this will be coming in the +future, but for now, check out the I<Browser> and I<Editor> applications' +F<Makefile>s in HOC's F<Samples/> directory, for an idea of how to use the +GHCi interaction feature. + +See C<hocwrap --help> for the definitive reference on F<hocwrap>. =for comment Modeline for vi(m) vi:sw=2 tw=65 Index: Quick_Start.pod =================================================================== RCS file: /cvsroot/hoc/hoc/docs/Quick_Start.pod,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- Quick_Start.pod 19 May 2004 15:59:28 -0000 1.9 +++ Quick_Start.pod 19 May 2004 16:18:28 -0000 1.10 @@ -204,13 +204,13 @@ GUI application though: to do this, you could manually make the F<.app> bundle, which is rather tedious. A better idea would be to use Xcode to generate a boilerplate bundle for you and -customise that, or use the F<hocnewapp> tool (described in the -L<"Tools"> section) supplied with HOC, which performs a similar -task. Once you've produced the F<Contents/> directory layout -required for the bundle, you can then use the F<hocwrap> tool -(again described in L<"Tools">) to wrap your Haskell executable -to produce the final L<.app> directory (or hand-roll it yourself, -if you're into masochism). +customise that, or steal one of the directory layouts from one of +HOC's sample applications (in the F<Samples/> directory). Once +you've produced the F<Contents/> directory layout required for +the bundle, you can then use the F<hocwrap> tool (described in +the L<"Tools"> section) to wrap your Haskell executable in the +final F<.app> directory (or hand-roll it yourself, if you're into +masochism). For complete code examples, see the F<ExpressionParser>, F<Browser>, and F<Editor> applications in HOC's F<Samples/> |