Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Distributing non-Perl script in a Perl distribution?

by Anonymous Monk
on Aug 08, 2015 at 00:27 UTC ( [id://1137894]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Distributing non-Perl script in a Perl distribution?
in thread Distributing non-Perl script in a Perl distribution?

See https://metacpan.org/pod/ExtUtils::MakeMaker#EXE_FILES and PL_FILES

$ module-starter --module Goner --email email --author author --verbos +e --eumm Created Goner Created Goner\lib Created Goner\lib\Goner.pm Created Goner\t Created Goner\t\pod-coverage.t Created Goner\t\pod.t Created Goner\t\manifest.t Created Goner\t\boilerplate.t Created Goner\t\00-load.t Created Goner\ignore.txt Created Goner\Makefile.PL Created Goner\Changes Created Goner\README Added to MANIFEST: Changes Added to MANIFEST: ignore.txt Added to MANIFEST: lib/Goner.pm Added to MANIFEST: Makefile.PL Added to MANIFEST: MANIFEST Added to MANIFEST: README Added to MANIFEST: t/00-load.t Added to MANIFEST: t/boilerplate.t Added to MANIFEST: t/manifest.t Added to MANIFEST: t/pod-coverage.t Added to MANIFEST: t/pod.t Created Goner\MANIFEST Created starter directories and files $ cd Goner $ md bin $ echo #!/usr/bin/python -- > bin\py.py $ echo #!/usr/bin/bash -- > bin\ba.sh $ echo @echo off -- > bin\ba.bat $ perl -i.bak -pe " s{^(.*?NAME.*)}{$1 EXE_FILES => [glob q{bin/*}], } +;" Makefile.PL $ perl Makefile.PL INSTALL_BASE=thebase Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for Goner Writing MYMETA.yml and MYMETA.json $ dmake install cp lib/Goner.pm blib\lib\Goner.pm "C:\citrusperl\bin\perl.exe" -MExtUtils::Command -e cp -- bin/py.py bl +ib\script\py.py pl2bat.bat blib\script\py.py "C:\citrusperl\bin\perl.exe" -MExtUtils::Command -e cp -- bin/ba.bat b +lib\script\ba.bat pl2bat.bat blib\script\ba.bat "C:\citrusperl\bin\perl.exe" -MExtUtils::Command -e cp -- bin/ba.sh bl +ib\script\ba.sh pl2bat.bat blib\script\ba.sh Installing thebase\lib\perl5\Goner.pm Installing thebase\bin\ba.bat Installing thebase\bin\ba.sh Installing thebase\bin\ba.sh.bat Installing thebase\bin\py.py Installing thebase\bin\py.py.bat Appending installation info to thebase\lib\perl5\MSWin32-x86-multi-thr +ead/perllocal.pod

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1137894]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-19 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found