Last change
on this file since 1150 was 1148, checked in by Bruno Cornec, 13 years ago |
- Most modules now have a VERSION declared
- Moulde Version.pm move to pb-modules due to that
|
File size:
655 bytes
|
Line | |
---|
1 | #!/usr/bin/perl -w
|
---|
2 | #
|
---|
3 | # Declare versions that will be used in pb
|
---|
4 | # Those are filtered with pb mecanism
|
---|
5 | # and have been isolated here to avoid unrelated effects
|
---|
6 | #
|
---|
7 | package ProjectBuilder::Version;
|
---|
8 |
|
---|
9 | use strict;
|
---|
10 |
|
---|
11 | # Inherit from the "Exporter" module which handles exporting functions.
|
---|
12 |
|
---|
13 | use vars qw($VERSION @ISA @EXPORT);
|
---|
14 | use Exporter;
|
---|
15 |
|
---|
16 | # Export, by default, all the functions into the namespace of
|
---|
17 | # any code which uses this module.
|
---|
18 | our @ISA = qw(Exporter);
|
---|
19 | our @EXPORT = qw(pb_version_init);
|
---|
20 |
|
---|
21 | $VERSION = 'PBVER';
|
---|
22 |
|
---|
23 | sub pb_version_init {
|
---|
24 |
|
---|
25 | my $projectbuilderver = "PBVER";
|
---|
26 | my $projectbuilderrev = "PBREV";
|
---|
27 |
|
---|
28 | return($projectbuilderver,$projectbuilderrev);
|
---|
29 | }
|
---|
30 | 1;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.