Copy
`/opt/skel/'
into your project's directory when you start new project.
You can build your project using these commands both from host os and
inside emu (except `prove`, which works only in host os):
mk all
mk install
mk test
prove -r
mk clean
mk nuke
When this project installed in `/opt/skel` and your /opt is correctly set
(https://github.com/powerman/inferno-opt-setup) you can also:
$ emu
; examplecmd
Hello from ExampleLib->init()
user.warn: Dec 6 05:04:40 examplecmd[158]: Hello from ExampleCmd->init()
user.err: Dec 6 05:04:40 examplecmd[158]: Hello from ExampleCmd->init()
; man examplecmd
EXAMPLECMD(1) EXAMPLECMD(1)
NAME
examplecmd - Example command in /opt skeleton project
…
; man examplelib
EXAMPLELIB(2) EXAMPLELIB(2)
NAME
examplelib - Example library in /opt skeleton project
…