line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Task::BeLike::JMATES; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
13945
|
use 5.010000; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
32
|
|
4
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
5
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
37
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.14'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
1; |
9
|
|
|
|
|
|
|
__END__ |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 NAME |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Task::BeLike::JMATES - modules used by JMATES (testing needs) |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 SYNOPSIS |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# and likely also set in your ~/.cpan/CPAN/MyConfig.pm: |
18
|
|
|
|
|
|
|
# 'prerequisites_policy' => q[follow], |
19
|
|
|
|
|
|
|
export PERL_MM_USE_DEFAULT=1 |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
# install for whatever Perl cpan + environment points to |
22
|
|
|
|
|
|
|
cpan Task::BeLike::JMATES |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
# test modules on some ancient version of Perl |
25
|
|
|
|
|
|
|
unset PERL5LIB PERL_LOCAL_LIB_ROOT PERL_MB_OPT PERL_MM_OPT |
26
|
|
|
|
|
|
|
cd perl-5.12.5 |
27
|
|
|
|
|
|
|
./Configure -des -Dprefix=$HOME/usr/perl-5.12.5 |
28
|
|
|
|
|
|
|
make test |
29
|
|
|
|
|
|
|
make install |
30
|
|
|
|
|
|
|
$HOME/usr/perl-5.12.5/bin/cpan Task::BeLike::JMATES |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 DESCRIPTION |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Modules used by JMATES for testing needs, e.g. ensuring that olden perl |
35
|
|
|
|
|
|
|
can still compile my modules, or to test that dependencies are all |
36
|
|
|
|
|
|
|
golden against a clean install of perl. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 HISTORY |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
See the git repository. To reduce public C<git log> spam, I have adopted |
41
|
|
|
|
|
|
|
the following practices: |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
# to merge another commit into the previous |
44
|
|
|
|
|
|
|
git commit --amend |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
# more extensive work |
47
|
|
|
|
|
|
|
# DO NOT push things that will be rebased! |
48
|
|
|
|
|
|
|
git checkout -b blah |
49
|
|
|
|
|
|
|
... |
50
|
|
|
|
|
|
|
git commit |
51
|
|
|
|
|
|
|
... |
52
|
|
|
|
|
|
|
git commit |
53
|
|
|
|
|
|
|
git diff master # figure out whatall has changed |
54
|
|
|
|
|
|
|
git rebase -i master |
55
|
|
|
|
|
|
|
# ... and therein make first "reword" and subsequent "squash", and |
56
|
|
|
|
|
|
|
# compose a short summary line, blank line, then longer |
57
|
|
|
|
|
|
|
# description of the changes as the comment |
58
|
|
|
|
|
|
|
git checkout master |
59
|
|
|
|
|
|
|
git merge blah |
60
|
|
|
|
|
|
|
git branch -d blah |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
And then push C<master> to the world, build a new module release, etc. |
63
|
|
|
|
|
|
|
For more information, consult the excellent "Pro Git" book, as well as |
64
|
|
|
|
|
|
|
the various L<git(1)> manual pages, as these methods may not suit |
65
|
|
|
|
|
|
|
your needs. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
In over your head with git? L<http://justinhileman.info/article/git-pretty/full/> |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 SEE ALSO |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
L<http://github.com/thrig/Task-BeLike-JMATES>, |
72
|
|
|
|
|
|
|
L<Task::BeLike::JMATES::Play>, L<Task::BeLike::JMATES::WorkWorkWork> |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head1 AUTHOR |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
thrig - Jeremy Mates (cpan:JMATES) C<< <jmates at cpan.org> >> |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Copyright (C) 2013-2015 Jeremy Mates |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
This module is free software; you can redistribute it and/or modify it |
83
|
|
|
|
|
|
|
under the Artistic License (2.0). |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=cut |