Operating system for OpenComputers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines

  1. #!/bin/sh
  2. rm -r target/*
  3. mkdir target &>/dev/null
  4. mkdir target/cfg
  5. lua luapreproc.lua module/init.lua target/init.lua
  6. echo _OSVERSION=\"PsychOS 2.0a1-$(git rev-parse --short HEAD)\" > target/version.lua
  7. cat target/version.lua target/init.lua > target/tinit.lua
  8. mv target/tinit.lua target/init.lua
  9. cp -r exec/ service/ lib/ target/
  10. cp default-init.txt target/cfg/init.txt
  11. lua finddesc.lua $(find module/ -type f) $(find lib/ -type f) > apidoc.md