Alien-Ditaa

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

  directory:
    - inc
    - t
requires:
  File::ShareDir: 0
  File::Which: 0
  IPC::Run: 0
  Method::Signatures::Simple: 0
  Moose: 0
  Path::Class: 0
  namespace::autoclean: 0
resources:
  license: http://opensource.org/licenses/gpl-license.php
  repository: git://github.com/bobtfish/Alien-Ditaa.git
version: 0.002

Makefile.PL  view on Meta::CPAN

all_from 'lib/Alien/Ditaa.pm';

license 'gpl';

requires 'IPC::Run';
requires 'File::Which';
requires 'Path::Class';
requires 'File::ShareDir';
requires 'Method::Signatures::Simple';
requires 'Moose';
requires 'namespace::autoclean';

test_requires 'Test::More' => '0.88';

prompt_script('script/ditaa');

requires_external_bin 'java';

resources repository => 'git://github.com/bobtfish/Alien-Ditaa.git';

if ($Module::Install::AUTHOR) {

lib/Alien/Ditaa.pm  view on Meta::CPAN

package Alien::Ditaa;
use Moose;
use Method::Signatures::Simple;
use File::ShareDir qw/module_dir/;
use Path::Class qw/dir file/;
use File::Which qw/which/;
use IPC::Run qw/run/;
use namespace::autoclean;

our $VERSION = '0.002';
$VERSION = eval $VERSION;

method get_installed_dir {
    return dir( module_dir('Alien::Ditaa') );
}

method get_jar {
    file( $self->get_installed_dir, 'ditaa0_9.jar' );

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.787 second using v1.00-cache-2.02-grep-82fe00e-cpan-c98054f2a92 )