mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-11-21 19:44:21 -05:00
Operating system for OpenComputers
56af6d1ade
* Made finddesc.lua execute commands using `sh -c 'command'`, which ensures that Unix-like shell is used instead of cmd.exe * Made finddesc.lua avoid a situation where it would end up with a double '/' in `outpath` * Redirect output of deleting the document to null to avoid pointless "No such file or directory" errors. |
||
---|---|---|
cfg | ||
lib | ||
module | ||
service | ||
.gitignore | ||
build.sh | ||
docs-metadata.yml | ||
finddesc.lua | ||
gendoc.lua | ||
LICENSE | ||
luapreproc.lua | ||
package.sh | ||
README.md | ||
template.tex |
OC-PsychOS2
A lightweight, multi-user operating system for OpenComputers
Building
The kernel
The kernel can be built using luapreproc:
./luapreproc.lua module/init.lua kernel.lua
The boot filesystem
A boot filesystem contains several things:
- The kernel, as init.lua
- The exec/ directory, as this contains all executables
- The lib/ directory, containing libraries
- The service/ directory, containing system services
This has been automated in the form of build.sh, pending a real makefile.
Documentation
To generate function documentation, run:
./finddesc.lua module/* lib/* > apidoc.md