[Dancer-users] Packaging Dancer to CPAN

Pedro Melo melo at simplicidade.org
Thu May 26 22:54:16 CEST 2011


Hi,

On Wed, May 25, 2011 at 9:17 PM, David Precious <davidp at preshweb.co.uk> wrote:
> On Wednesday 25 May 2011 18:02:41 Pedro Melo wrote:
>> I need to repack a Dancer-based site as a CPAN module. I remember
>> seeing a bit of documentation about this somewhere but I can't find it
>> at the moment.
>>
>> Any pointers to documentation or an example on how to do this?
>
> At the most basic, change into the app dir, and:
>
> perl Makefile.PL
> make dist
>
> ... you should end up with a usable tarball.  Simples :)
>
> As with all modules, check your MANIFEST file is up to date (listing all the
> files that need to be shipped).

Tried this. It solves the packaging problem but not the installation
problem. When cpan installs your module, all the statis files and
views aren't installed.

Bye,
-- 
Pedro Melo
http://www.simplicidade.org/
xmpp:melo at simplicidade.org
mailto:melo at simplicidade.org


More information about the Dancer-users mailing list