README.txt 1023 B

12345678910111213141516171819202122232425262728293031323334
  1. Pas2jsReleaseCreator is a tool to create a release or a snapshot of pas2js.
  2. It creates a zip for a binary distribution of pasj2s:
  3. - Fetch version from Pascal sources and check version in rtl.js
  4. - Compile a bunch of executables:
  5. - pas2js using fpc release
  6. - libpas2js using fpc release and optional a second with fpc devel
  7. - compileserver with fpc devel
  8. - webidl2pas with fpc devel
  9. - makestub with fpc devel
  10. - Copy files:
  11. - demo
  12. - packages
  13. - tools except for releasecreator
  14. - rtl.js
  15. - It does not include the compiler sources.
  16. - Compile createconfig and create pas2js.cfg
  17. - Create a zip
  18. The creator requires some installed tools: git, make, zip, fpc release version,
  19. and fpc devel version.
  20. Running:
  21. ./Pas2jsReleaseCreator -s ../.. --fpcrelease=/usr/lib/fpc/3.2.2/ppcx64 --fpcdevel=/usr/lib/fpc/3.3.1/ppcx64 -x
  22. You can put some parameters into an ini file and pass that via -c.
  23. Example for an ini file:
  24. [Main]
  25. fpcrelease=/usr/lib/fpc/3.2.2/ppcx64
  26. fpcdevel=/usr/lib/fpc/3.3.1/ppcx64
  27. sourcedir=../..