Last change
on this file since 1148 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
|
Rev | Line | |
---|
[53] | 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 | #
|
---|
[329] | 7 | package ProjectBuilder::Version;
|
---|
| 8 |
|
---|
[74] | 9 | use strict;
|
---|
[53] | 10 |
|
---|
[329] | 11 | # Inherit from the "Exporter" module which handles exporting functions.
|
---|
| 12 |
|
---|
[1148] | 13 | use vars qw($VERSION @ISA @EXPORT);
|
---|
[329] | 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 |
|
---|
[1148] | 21 | $VERSION = 'PBVER';
|
---|
| 22 |
|
---|
[74] | 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.