IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 24, 2006, 5:08:56 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION to 0.02
split grammar out of PS::IPP::Metadata::Config into grammar_config.txt
precompile the parser as PS::IPP::Metadata::Pasrser
change PS::IPP::Metadata::Config to use PS::IPP::Metadata::Pasrser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-Metadata-Config/Build.PL

    r5202 r8583  
    22# See perldoc Module::Build for details of how this works
    33
    4 Module::Build->new(
     4my $class = Module::Build->subclass(code => <<'EOF');
     5use File::Copy;
     6
     7sub ACTION_code {
     8    my $self = shift;
     9
     10    $self->SUPER::ACTION_code(@_);
     11
     12    system("perl -MParse::RecDescent - config_grammar.txt PS::IPP::Metadata::Parser") == 0
     13        or die "Parse::RecDecent code gen failed: $?";
     14    move("Parser.pm", "lib/PS/IPP/Metadata/Parser.pm")
     15        or die "move failed: $!";
     16}
     17EOF
     18
     19$class->new(
    520    module_name         => 'PS::IPP::Metadata::Config',
    621    dist_version_from   => 'lib/PS/IPP/Metadata/Config.pm',
Note: See TracChangeset for help on using the changeset viewer.