|
Last change
on this file since 475 was 329, checked in by Bruno Cornec, 18 years ago |
- All modules are packages now (simplifies use and spec)
|
|
File size:
598 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 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 |
|
|---|
| 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.