source: ProjectBuilder/devel/pb-modules/lib/ProjectBuilder/Version.pm@ 1148

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
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#
7package ProjectBuilder::Version;
8
9use strict;
10
11# Inherit from the "Exporter" module which handles exporting functions.
12
13use vars qw($VERSION @ISA @EXPORT);
14use Exporter;
15
16# Export, by default, all the functions into the namespace of
17# any code which uses this module.
18our @ISA = qw(Exporter);
19our @EXPORT = qw(pb_version_init);
20
21$VERSION = 'PBVER';
22
23sub pb_version_init {
24
25my $projectbuilderver = "PBVER";
26my $projectbuilderrev = "PBREV";
27
28return($projectbuilderver,$projectbuilderrev);
29}
301;
Note: See TracBrowser for help on using the repository browser.