generateDocs.command 574 B

12345678910111213141516171819202122232425262728
  1. #!/bin/sh
  2. cd "`dirname "$0"`"
  3. # --- Clean up the junk in the root of the scriptDocs folder ---
  4. rm scriptDocs/*.*
  5. cd scriptDocs/project
  6. sh generateProjects.command
  7. cd buildFiles
  8. sh compile.command
  9. cd ../../..
  10. # --- Dump the engine docs ---
  11. scriptDocs/project/game/ScriptDoc.app/Contents/MacOS/ScriptDoc
  12. # --- Build the doxygen docs ---
  13. cd ../Engine/bin/doxygen
  14. doxygen scriptReference.mac.cfg
  15. cd ../../../Documentation
  16. # --- Build docset ---
  17. cd scriptDocs
  18. make
  19. rm -rf ../com.garagegames.TorqueScript.docset
  20. mv -f com.garagegames.TorqueScript.docset ..
  21. rm *.* Makefile