Version 4 (modified by szabgab, 7 years ago) (diff)


Building the Portable Padre on Portable Strawberry Perl

(This is mostly important for the Padre development team and not the end user)

How to include Padre into Portable Strawberry and how to release it

  • Install Padre using
    cpan> install Padre
  • Install Plugins
  • .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..
  • remove the cpan_sqlite_log.... files from c:\portable\cpan
  • remove C:\portable\cpan\build and C:\portable\cpan\sources C:\portable\cpan\Bundle
  • ( the whole portable directory is now 177 Mb )

portablepadre.bat contains the following magic:

%~dp0perl.exe should be checked in some version control

  • create a zip file and drag all the content of c:\portable\ in it
    • (TODO isn't there a command line tool in portable to create the zip file ?)
  • The resulting zip file for Padre 0.19 on Portable Strawberry beta 1 was 52 Mb,
  • for Pare 0.25 with Parrot and Perl 6 it was 60 Mb.