Module::JSAN release

2 views
Skip to first unread message

Nickolay Platonov

unread,
Jan 28, 2010, 8:14:38 AM1/28/10
to js...@googlegroups.com
Hello,

I'd like to announce about the Module::JSAN release.

Module::JSAN is a simple wrapper around the Module::Build::JSAN::Installable, which
allows you to use Module::Install syntax in build files (including DSL syntax).

Thats sounds like a tongue twister, better just take a look on the example:

Build.PL file for Module::Build::JSAN::Installable (before)
---------------------------------------------------------------------------------

use Module::Build::JSAN::Installable;

my $build = Module::Build::JSAN::Installable->new(
    module_name    => 'Digest.SHA1',
    create_makefile_pl => 'passthrough',
    dist_version   => 0.01,
    dist_author   => 'SamuraiJack',
    dist_abstract  => 'Provides SHA1 hashing function',
    license        => 'perl',
);

$build->create_build_script;



Build.PL for Module::JSAN (after)
------------------------------------------------
use inc::Module::JSAN::DSL;

name            Test.Run

version         0.03
author          'Nickolay (SamuraiJack) Platonov <ro...@symbie.org>'

abstract        'Yet another JavaScript testing platform, running on Joose3 + bridge to ExtJS'
license         bsd

requires        Task.Joose.Stable       3.04
requires        Task.ExtJS              3.1.0
requires        JooseX.Bridge.ExtJS     0.01
requires        ExtX.Reference.Slot     0.01

docs_markup     mmd


The syntax of Build.PL no longer requires knowledge of Perl, it was transformed into simple declarative statements,
describing the distribution.

Further reading:
http://search.cpan.org/dist/Module-JSAN/lib/Module/JSAN.pm
http://search.cpan.org/dist/Module-Build-JSAN-Installable/lib/Module/Build/JSAN/Installable.pm


Regards, Nickolay
Reply all
Reply to author
Forward
0 new messages