NAME

bundle.pl - Combine website files with Initialize module

SYNOPSIS

perl bundle.pl directory

DESCRIPTION

When followme is called with the -i flag it creates a new website in a directory, including the files it needs to run. These files are extraced from the DATA section at the end of the Initialize.pm module. This script updates that DATA section from a directory containing a sample website. It is for developers of this code and not for end users.

Run this script with the name of the directory containing the sample website on the command line.

CONFIGURATION

The following variabless are defined in the configuration section at the top of the script:

CMD_PREFIX

The string which marks a line in the DATA section as a command. It must match the constant of the same name in the Initialize.pm module.

$output

The file path to the Initialize.pm module relative to the location of this script. Directories should be separated by forward slashes (/) regardless of the convention of the operating system.

LICENSE

Copyright (C) Bernie Simon.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Bernie Simon <bernie.simon@gmail.com>