Commit b5092923 authored by Michael Pyne's avatar Michael Pyne
Browse files

modularize: Add version info to each component module.

This can be used as a run-time check later to ensure that kdesrc-build
finds compatible versions of its component modules (though that isn't
done yet).
parent 9fd7489f
......@@ -7,6 +7,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use Carp 'confess';
use File::Basename; # dirname
use IO::File;
......
......@@ -8,6 +8,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use ksb::Debug;
use ksb::Util;
use List::Util qw(first);
......
......@@ -6,6 +6,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use List::Util qw(first);
use ksb::Debug;
......
......@@ -7,6 +7,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use ksb::Debug;
use ksb::Util;
use ksb::BuildSystem;
......
......@@ -6,6 +6,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use ksb::Debug;
use ksb::Util;
use ksb::BuildSystem;
......
......@@ -6,6 +6,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use List::Util qw(first);
use ksb::Debug;
......
......@@ -6,6 +6,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use ksb::Debug;
use ksb::Util;
use ksb::BuildSystem;
......
......@@ -4,6 +4,9 @@ package ksb::Debug;
use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use Exporter qw(import); # Steal Exporter's import method
our @EXPORT = qw(debug pretending debugging whisper
......
......@@ -8,6 +8,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use ksb::Debug;
use ksb::Util;
use List::Util qw(first);
......
......@@ -9,6 +9,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use ksb::Util; # make_exception, list_has
use ksb::Debug;
......
......@@ -6,6 +6,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use ksb::IPC;
our @ISA = qw(ksb::IPC);
......
......@@ -9,6 +9,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use IO::Handle;
use ksb::IPC;
our @ISA = qw(ksb::IPC);
......
......@@ -8,6 +8,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use XML::Parser;
sub new
......
......@@ -8,6 +8,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use ksb::IPC;
use ksb::Debug;
use ksb::Util;
......
......@@ -7,6 +7,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use ksb::Util;
# Constructor. Passed in values are the initial phases in this set.
......
......@@ -4,6 +4,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use ksb::Util;
# TODO: Replace make_exception with appropriate croak_* function.
......
......@@ -7,6 +7,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use ksb::Util;
sub new
......
......@@ -6,6 +6,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use ksb::Debug;
use ksb::Util;
use ksb::Updater;
......
......@@ -8,6 +8,8 @@ use ksb::Debug;
use ksb::Util;
use ksb::Updater;
our $VERSION = '0.10';
our @ISA = qw(ksb::Updater);
use File::Basename; # basename
......
......@@ -7,6 +7,8 @@ use strict;
use warnings;
use v5.10;
our $VERSION = '0.10';
use ksb::Updater::Git;
our @ISA = qw(ksb::Updater::Git);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment