Skip to content

Commit

Permalink
Item1476: BuildContrib support
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/DebugLogPlugin@3568 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
WillNorris authored and WillNorris committed Apr 20, 2009
1 parent 3e545e7 commit a06d7bd
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
Empty file.
2 changes: 2 additions & 0 deletions lib/TWiki/Plugins/DebugLogPlugin/MANIFEST
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
data/System/DebugLogPlugin.txt 0644 Plugin doc page
lib/Foswiki/Plugins/DebugLogPlugin.pm 0444 Plugin Perl module
25 changes: 25 additions & 0 deletions lib/TWiki/Plugins/DebugLogPlugin/build.pl
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/perl -w
#
# Requires the environment variable FOSWIKI_LIBS (a colon-separated path
# list) to be set to point at the build system and any required dependencies.
# Usage: ./build.pl [-n] [-v] [target]
# where [target] is the optional build target (build, test,
# install, release, uninstall), test is the default.
# Two command-line options are supported:
# -n Don't actually do anything, just print commands
# -v Be verbose
#

# Standard preamble
BEGIN {
unshift @INC, split( /:/, $ENV{FOSWIKI_LIBS} );
}

use Foswiki::Contrib::Build;

# Create the build object
$build = new Foswiki::Contrib::Build( 'DebugLogPlugin' );

# Build the target on the command line, or the default target
$build->build($build->{target});

0 comments on commit a06d7bd

Please sign in to comment.