-
Notifications
You must be signed in to change notification settings - Fork 4
/
Library.pm
78 lines (50 loc) · 1.38 KB
/
Library.pm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
package Parrot::Library;
use v5.10;
use Moose;
use Method::Signatures;
with 'Parrot::Base';
method init($name, $build_system, $test_system, $template) {
$self->name($name);
$self->build_system($build_system);
$self->test_system($test_system);
$self->template($template);
return 1;
}
no Moose;
__PACKAGE__->meta->make_immutable;
__END__
=pod
=head1 NAME
Parrot::Library - Moose class for work with parrot library.
=head1 SYNOPSIS
#simple using
my $lib = Parrot::Library->new();
$lib->init($name, $builder, $harness, $template);
#generate and return archive
$archive_path = $lib->generate();
=head1 METHODS
=head3 init
=head4 Description:
init all information about Parrot Library;
=cut
=head4 Args:
$name,
$build_system,
$test_system,
$template;
=cut
=head4 Retuns:
1;
=cut
=head1 DESCRIPTION
Class is using for work with Parrot Library objects. It's implementing a Parrot::Base role and expanding its api.
=head1 BUGS
If you find bugs please report us.
https://github.com/letolabs/app-parrot-create
=head1 AUTHORS
Jonathan Leto duke@leto.net
Denis Boyun denisboyun@gmail.com
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2013, Parrot Foundation.
This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0
=cut