Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dist::zilla::app::command::run(3pm) [debian man page]

Dist::Zilla::App::Command::run(3pm)			User Contributed Perl Documentation		       Dist::Zilla::App::Command::run(3pm)

NAME
Dist::Zilla::App::Command::run - run stuff in a dir where your dist is built VERSION
version 4.300020 SYNOPSIS
$ dzil run ./bin/myscript $ dzil run prove -bv t/mytest.t $ dzil run bash DESCRIPTION
This command will build your dist with Dist::Zilla, then build the distribution and then run a command in the build directory. It's something like doing this: dzil build rsync -avp My-Project-version/ .build/ cd .build perl Makefile.PL # or perl Build.PL make # or ./Build export PERL5LIB=$PWD/blib/lib:$PWD/blib/arch <your command as defined by rest of params> Except for the fact it's built directly in a subdir of .build (like .build/69105y2). A command returning with an non-zero error code will left the build directory behind for analysis, and "dzil" will exit with a non-zero status. Otherwise, the build directory will be removed and dzil will exit with status zero. If no run command is provided, a new default shell is invoked. This can be useful for testing your distribution as if it were installed. AUTHOR
Ricardo SIGNES <rjbs@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo SIGNES. 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.14.2 2012-06-21 Dist::Zilla::App::Command::run(3pm)

Check Out this Related Man Page

Dist::Zilla::App::Command::build(3pm)			User Contributed Perl Documentation		     Dist::Zilla::App::Command::build(3pm)

NAME
Dist::Zilla::App::Command::build - build your dist VERSION
version 4.300020 SYNOPSIS
dzil build [ --trial ] [ --tgz | --no-tgz ] [ --in /path/to/build/dir ] DESCRIPTION
This command is a very thin layer over the Dist::Zilla "build" method, which does all the things required to build your distribution. By default, it will also archive your distribution and leave you with a complete, ready-to-release distribution tarball. EXAMPLE
$ dzil build $ dzil build --no-tgz $ dzil build --in /path/to/build/dir OPTIONS
--trial This will build a trial distribution. Among other things, it will generally mean that the built tarball's basename ends in -TRIAL. --tgz | --no-tgz Builds a .tar.gz in your project directory after building the distribution. --tgz behaviour is by default, use --no-tgz to disable building an archive. --in Specifies the directory into which the distribution should be built. If necessary, the directory will be created. An archive will not be created. AUTHOR
Ricardo SIGNES <rjbs@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo SIGNES. 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.14.2 2012-06-21 Dist::Zilla::App::Command::build(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. Programming

How to Compile programs using cc??

How do you Compile programs using cc?? I'm lost. Do I need to buy C or what? I'm only going to use it very few times a year. From what everyone seems to be telling me, it sounds like it is build into the Unix system but I'm having no luck. Please help or just point me in the right direction. ... (7 Replies)
Discussion started by: spotanddot
7 Replies

2. Shell Programming and Scripting

Script Build

I have a 3 status option 1 , 4 , 6 1 - Active 4 - Temp.. 6 - Deactive I want to build a script which when it finds either of the status options (1,4,6), then returns the relevant string. txs :confused: (3 Replies)
Discussion started by: mewalter
3 Replies

3. UNIX for Dummies Questions & Answers

I want to cheaply build my own Linux/Unix PC, but don't know where to start

I want to cheaply build my own PC that will run the latest versions of Linspire, Fedora Core, FreeBSD and Solaris, but I don't know where to start. This PC doesn't have to be particulary fast. It's video performance need not be top notch, however, sound quality and sound performance must rock!... (4 Replies)
Discussion started by: Mr. Nice Guy
4 Replies

4. UNIX for Dummies Questions & Answers

what is the command to get my ip ?

is there any build in command that gives you the local ip ? (10 Replies)
Discussion started by: umen
10 Replies

5. Programming

makemake file

Hi, I need to create make file in order to run a c++ project and I want to write a makemake file. So, I'm looking for a good tutorial or example for makemake file. I also want to know how to run this kind of file. Thank's (4 Replies)
Discussion started by: itaihor
4 Replies

6. UNIX for Advanced & Expert Users

How can i make Build.

I have just build a softpaq for our softqare release. Now i am giving tar file of softpaq to customer. It need to extract and then need to run script file inside it. I want to build this way that when user extract script file in this should automatically starts/excutes... Can anyone suggest... (3 Replies)
Discussion started by: ajayyadavmca
3 Replies

7. UNIX for Dummies Questions & Answers

unix command - what happens under the hood

Hello everyone, When I run the command: rm adkjad (assuming the file adkjad doesn't exist), I get the following message: adkjad: No such file or directory I want to run this command, but I want a succesful return code whether the file is there or not. I tried: rm adkjad... (10 Replies)
Discussion started by: robert4732
10 Replies

8. UNIX for Dummies Questions & Answers

Script doesn't run

Hi everyone, I've written a script, I gave it permission by > chmod u+x myscript and then tried to run it with > myscript and it didn't work, so I've written > ./myscript again, it didn't work, so I've written > set path = (. $path) but it didn't work as well. I have some... (6 Replies)
Discussion started by: shira
6 Replies

9. Programming

How to build .exe from c

All, I have never comipled C code before and would appricaite if anyone could tell me how to build a .exe from a C program. Thanks in advance. (5 Replies)
Discussion started by: thana
5 Replies

10. Shell Programming and Scripting

ksh: <a perl file name> not found

I am using a perl file to run a batc job from unix prompt. I am inside the correct directory where the perl file is located. I can even find the file using ls command. But when I run the perl file , it says 'ksh: <perl_file.pl> not found'. Could anyone please let me know what is wrong? (4 Replies)
Discussion started by: Subhasis
4 Replies

11. Shell Programming and Scripting

Building programs from separate makefiles

I have several makefiles to build various programs in a software suite (currently 4 programs). I want to create a main Makefile so that I can build everything I need. Unsure on the way I should proceed, for example using include fdtc.mk or calling $(MAKE) -f ./mk/Makefile nfdtc Here... (15 Replies)
Discussion started by: kristinu
15 Replies

12. Shell Programming and Scripting

Build using scons

I have a tree structure as follows: /vik/build/sc/botoh.sc /vik/lib/endian.f /vik/utils/botoh.f Then I run the build script as cd vik/build/sc scons -f botoh.sc The above shows that the SConstruct botoh.sc is down a few levels, and it may be easiest to have the main... (6 Replies)
Discussion started by: kristinu
6 Replies

13. Programming

C++ Linking Error: invalid DSO for symbol

I am on a FreeBSD system trying to build a piece of software that I wrote. I had built it in the past but recently reinstalled FreeBSD. I am not sure what is going on. The software depends on and wxgtk2.8. Using g++: $ make g++ -c `wx-config --cxxflags`... (9 Replies)
Discussion started by: AntumDeluge
9 Replies

14. Shell Programming and Scripting

Perl to read user input

I am creating a bash that uses perl . The below code closes before the input is entered. If I run the perl as a .pl it is fine. What am I doing wrong? Thank you :). #!/bin/bash cd 'C:\Users\cmccabe\Desktop\wget' wget -O getCSV.txt http://xxx.xx.xxx.xxx/data/getCSV.csv print... (4 Replies)
Discussion started by: cmccabe
4 Replies

15. UNIX for Beginners Questions & Answers

Command finds some, misses some

The contents of my home directory: bin Desktop Documents Downloads folders Music Pictures Public Templates Videos When I run the command for file in /home/myself/*d*; do if ; then echo $file; fi; doneit finds /home/myself/Downloads /home/myself/Videos but not "folders". ... (5 Replies)
Discussion started by: Xubuntu56
5 Replies