dist::zilla::plugin::run::test(3pm) [debian man page]
Dist::Zilla::Plugin::Run::Test(3pm) User Contributed Perl Documentation Dist::Zilla::Plugin::Run::Test(3pm)NAME
Dist::Zilla::Plugin::Run::Test - execute a command of the distribution after build
VERSION
version 0.013
SYNOPSIS
[Run::Test]
run = script/tester.pl --name %n --version %v some_file.ext
DESCRIPTION
This plugin executes the specified command during the test phase.
CAVEAT
Unlike the other [Run::*] plugins, when running the scripts, the current working directory will be the directory with newly built
distribution. This is the way Dist::Zilla works.
POSITIONAL PARAMETERS
See "CONVERSIONS" in Dist::Zilla::Plugin::Run for the list of common formatting variables available to all plugins.
There are no positional parameters for this plugin.
AUTHOR
Torsten Raudssus <torsten@raudssus.de> <http://www.raudssus.de/>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Raudssus Social Software <http://www.raudssus.de/>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.12.4 2011-11-09 Dist::Zilla::Plugin::Run::Test(3pm)
Check Out this Related Man Page
Dist::Zilla::Plugin::Run(3pm) User Contributed Perl Documentation Dist::Zilla::Plugin::Run(3pm)NAME
Dist::Zilla::Plugin::Run - Run external commands at specific phases of Dist::Zilla
VERSION
version 0.013
SYNOPSIS
[Run::BeforeRelease]
run = script/myapp_before1.pl %s
run = script/myapp_before2.pl %n %v
[Run::Release]
run = script/myapp_deploy1.pl %s
run = deployer.pl --dir %d --tgz %a --name %n --version %v
[Run::AfterRelease]
run = script/myapp_after.pl %s %v
; %p can be used as the path separator if you have contributors on a different OS
run = script%pmyapp_after.pl %s %v
DESCRIPTION
Run arbitrary commands at various Dist::Zilla phases.
CONVERSIONS
The following conversions/format specifiers are defined for passing as arguments to the specified commands (though not all values are
available at all phases).
o %a the archive of the release (available to all *Release phases)
o %d the directory in which the dist was built (not in "BeforeBuild")
o %n the dist name
o %p path separator ('/' on Unix, '\' on Win32... useful for cross-platform dist.ini files)
o %v the dist version
o %x full path to the current perl interpreter (like $^X but from Config)
Additionally %s is retained for backward compatibility. Each occurrence is replaced by a different value (like the regular "sprintf"
function). Individual plugins define their own values for the positional replacement of %s.
AUTHOR
Torsten Raudssus <torsten@raudssus.de> <http://www.raudssus.de/>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Raudssus Social Software <http://www.raudssus.de/>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.12.4 2011-11-09 Dist::Zilla::Plugin::Run(3pm)
Hello,
I am working on Sun Solaris 5.7. I am trying to read the running time of a process through a C program.
One way I am reading it is by using the command ps -<pid> -f
The other way is from the struct psinfo_t which is there under /proc/pid/psinfo.
However, the two times are... (1 Reply)
I have a question regarding running perl in the current process.
I shall demonstrate with an example.
Look at this.
sh-2.05b$ pwd
/tmp
sh-2.05b$ cat test.sh
#! /bin/sh
cd /etc
sh-2.05b$ ./test.sh
sh-2.05b$ pwd
/tmp
sh-2.05b$ . ./test.sh
sh-2.05b$ pwd
/etc
sh-2.05b$
So... (10 Replies)
Hi,
I have a input file with following contents
---------------------------------------------------------Run Number: 1-----------------------------------------------------------
test_run -layout test_vaal -i |Started|05/28/2007 02:19:30|TEST|8651... (2 Replies)
We have now been living in Vence for 3 months. My husband works for a large IT company.
How do we get hold of our Social Security numbers and Carte Vitale please?
Thanks (4 Replies)
Guy's
I want to make script to run this command solevel every Saturday at 8:00 clock exactly .
Can you please help me and teach me how to do this ... (9 Replies)
Team,
Could some one help me in Printing from matching word to end using awk
For ex:
Input:
I am tester for now
I am tester yesterday
I am tester tomorrow
O/p
tester for now
tester yesterday
tester tomorrow
i.e Starting from tester till end of sentence (5 Replies)
I have a list with four dates
say load_date.lst contains
2010-01-01 2010-01-31
2010-03-01 2010-03-31
2010-05-01 2010-05-31
2010-07-01 2010-07-31
And I have directory /lll/src/sql with set of sql's
1_load.sql
2_load.sql
3_load.sql
I want to run the sql'in series with respective to... (3 Replies)
Please help me to write the following script.
1) Input files will be in Test directory. (Test/YYYY/MM) folders (Ex: 1) 2010/ 01 2) 2011/05)
The file name will be Testfile1_6676543218_Axxxxxxyyyyyzzzzzzzzzzzzzzzzzz.pdf.gz
2) The compare file will be in /tmp directory. (/tmp/comparefile.txt). The... (6 Replies)
Hi all,
I'm trying to remsh to another server and then execute a for loop command there but I'm getting unexpected errors and would appreciate any suggestions.
Ideally what I want to do is this:
for host in `cat host_file`
do
remsh $host -n "
cd /home/
for DATABASE in `ls -d... (5 Replies)
Hi,
I haven't programed in C in a few years. I have been doing a lot of shell scripting, I.E. not really programming anything heavy. :o
That said, I have a script that gives hourly usage statistics for our email server. It runs w-a-y to slow as a script for my impatience, and needs to... (7 Replies)
I am currently try to write a simple script with the following condition, but so far not having luck as the exit code would always be 0.
Run remote command to read a file and grep for test word.
if test word is in the file, send email.
if not, do nothing
also possible to ssh to multiple... (3 Replies)