Last change
on this file since 566 was 329, checked in by Bruno Cornec, 17 years ago |
- All modules are packages now (simplifies use and spec)
|
File size:
598 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 |
|
---|
| 13 | use Exporter;
|
---|
| 14 |
|
---|
| 15 | # Export, by default, all the functions into the namespace of
|
---|
| 16 | # any code which uses this module.
|
---|
| 17 | our @ISA = qw(Exporter);
|
---|
| 18 | our @EXPORT = qw(pb_version_init);
|
---|
| 19 |
|
---|
[74] | 20 | sub pb_version_init {
|
---|
| 21 |
|
---|
| 22 | my $projectbuilderver = "PBVER";
|
---|
| 23 | my $projectbuilderrev = "PBREV";
|
---|
| 24 |
|
---|
| 25 | return($projectbuilderver,$projectbuilderrev);
|
---|
| 26 | }
|
---|
| 27 | 1;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.