| 12 | | |
| 13 | | == Building it == |
| 14 | | |
| 15 | | (This is mostly important for the Padre development team and not the end user) |
| 16 | | |
| 17 | | How to include Padre into Portable Strawberry and how to release it |
| 18 | | |
| 19 | | * Download Portable Strawberry http://strawberryperl.com/ |
| 20 | | * ( http://strawberryperl.com/download/strawberry-perl-5.10.0.3-portable-beta-1.zip ) |
| 21 | | * unzip it to c:\portable |
| 22 | | * Theoretically we should not need this but both portable is a bit buggy and some |
| 23 | | * modules just call out to system("perl") that requires perl to be in PATH. So |
| 24 | | * set the PATH to include both c:\portable\c\bin and c:\portable\perl\bin |
| 25 | | |
| 26 | | * Install Padre using |
| 27 | | {{{ |
| 28 | | cpan> install Padre |
| 29 | | }}} |
| 30 | | * Install Plugins |
| 31 | | * .padre is currently in C:\ shall we set the PADRE_HOME to a directory in the portable distribution? (if so we can configure the plug-ins and ship them but we have to make sure the configuration files don't include personal history.. |
| 32 | | |
| 33 | | |
| 34 | | * remove the cpan_sqlite_log.... files from c:\portable\cpan |
| 35 | | * remove C:\portable\cpan\build and C:\portable\cpan\sources |
| 36 | | * ( the whole portable directory is now 177 Mb ) |
| 37 | | |
| 38 | | portablepadre.bat contains the following magic: |
| 39 | | {{{ |
| 40 | | %~dp0perl.exe %~dp0padre |
| 41 | | }}} |
| 42 | | |
| 43 | | * create a zip file and drag all the content of c:\portable\ in it |
| 44 | | * (TODO isn't there a command line tool in portable to create the zip file ?) |
| 45 | | * The resulting zip file for Padre 0.19 on Portable Strawberry beta 1 was 52 Mb |
| | 12 | [wiki:BuildingOnPortableStrawberry Building on Portable Strawberry] |