| Revision 736,
981 bytes
checked in by OlivierRaginel, 5 years ago
(diff) |
|
Item38: Removed ` from comment to ease security audit
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | #!/usr/bin/perl -w |
|---|
| 2 | # |
|---|
| 3 | # Example build class. Copy this file to the equivalent place in your |
|---|
| 4 | # plugin or contrib and edit. |
|---|
| 5 | # |
|---|
| 6 | # Read the comments at the top of lib/TWiki/Contrib/Build.pm for |
|---|
| 7 | # details of how the build process works, and what files you |
|---|
| 8 | # have to provide and where. |
|---|
| 9 | # |
|---|
| 10 | # Requires the environment variable TWIKI_LIBS (a colon-separated path |
|---|
| 11 | # list) to be set to point at the build system and any required dependencies. |
|---|
| 12 | # Usage: ./build.pl [-n] [-v] [target] |
|---|
| 13 | # where [target] is the optional build target (build, test, |
|---|
| 14 | # install, release, uninstall), test is the default. |
|---|
| 15 | # Two command-line options are supported: |
|---|
| 16 | # -n Don't actually do anything, just print commands |
|---|
| 17 | # -v Be verbose |
|---|
| 18 | # |
|---|
| 19 | |
|---|
| 20 | # Standard preamble |
|---|
| 21 | BEGIN { |
|---|
| 22 | unshift @INC, split( /:/, $ENV{TWIKI_LIBS} ); |
|---|
| 23 | } |
|---|
| 24 | |
|---|
| 25 | use TWiki::Contrib::Build; |
|---|
| 26 | |
|---|
| 27 | # Create the build object |
|---|
| 28 | $build = new TWiki::Contrib::Build("SignaturePlugin"); |
|---|
| 29 | |
|---|
| 30 | # Build the target on the command line, or the default target |
|---|
| 31 | $build->build($build->{target}); |
|---|
Note: See
TracBrowser
for help on using the repository browser.