Changeset 6339
- Timestamp:
- 02/15/10 21:11:45 (2 years ago)
- Location:
- trunk/GenPDFAddOn/lib/Foswiki/Contrib
- Files:
-
- 2 edited
-
GenPDF.pm (modified) (1 diff)
-
GenPDFAddOn/build.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/GenPDFAddOn/lib/Foswiki/Contrib/GenPDF.pm
r6230 r6339 71 71 # It is *not* used by the build automation tools, but is reported as part 72 72 # of the version number in PLUGINDESCRIPTIONS. 73 our $RELEASE = '1.1- rc2';73 our $RELEASE = '1.1-RC2'; 74 74 75 75 $| = 1; # Autoflush buffers -
trunk/GenPDFAddOn/lib/Foswiki/Contrib/GenPDFAddOn/build.pl
r2237 r6339 1 1 #!/usr/bin/perl -w 2 # 3 # Build file 4 # 5 package GenPDFAddOnBuild; 6 7 BEGIN { 8 foreach my $pc ( split( /:/, $ENV{FOSWIKI_LIBS} ) ) { 9 unshift @INC, $pc; 10 } 11 } 12 2 BEGIN { unshift @INC, split( /:/, $ENV{FOSWIKI_LIBS} ); } 13 3 use Foswiki::Contrib::Build; 14 4 15 @GenPDFAddOnBuild::ISA = ("Foswiki::Contrib::Build"); 5 # Create the build object 6 $build = new Foswiki::Contrib::Build('GenPDFAddOn'); 16 7 17 sub new { 18 my $class = shift; 19 return bless( $class->SUPER::new("GenPDFAddOn"), $class ); 20 } 8 # (Optional) Set the details of the repository for uploads. 9 # This can be any web on any accessible Foswiki installation. 10 # These defaults will be used when expanding tokens in .txt 11 # files, but be warned, they can be overridden at upload time! 21 12 22 $build = new GenPDFAddOnBuild(); 13 # name of web to upload to 14 $build->{UPLOADTARGETWEB} = 'Sandbox/Beta'; 15 16 # Full URL of pub directory 17 $build->{UPLOADTARGETPUB} = 'http://foswiki.org/pub'; 18 19 # Full URL of bin directory 20 $build->{UPLOADTARGETSCRIPT} = 'http://foswiki.org/bin'; 21 22 # Script extension 23 $build->{UPLOADTARGETSUFFIX} = ''; 24 25 # Build the target on the command line, or the default target 23 26 $build->build( $build->{target} ); 27
Note: See TracChangeset
for help on using the changeset viewer.
