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.

11 lines

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