Skip to content

Instantly share code, notes, and snippets.

@ingydotnet
Created June 5, 2011 14:19
Show Gist options
  • Save ingydotnet/1008993 to your computer and use it in GitHub Desktop.
Save ingydotnet/1008993 to your computer and use it in GitHub Desktop.
ingy@thinkingy:~/src/app-aycabtu-pm$ cat Makefile.PL
use inc::Module::Package 'Ingy:modern 0.08';
ingy@thinkingy:~/src/app-aycabtu-pm$ make release
/usr/bin/perl "-Iinc" "-Ilib" "-MModule::Package::Ingy" -e "Module::Package::Ingy->make_release()"
>> make release >> perl -Ilib Makefile.PL
include /home/ingy/src/app-aycabtu-pm/inc/Module/Install.pm
include inc/Module/Install/Package.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/Stardoc.pm
include inc/Module/Install/Makefile.pm
include inc/Module/Install/ReadmeFromPod.pm
Writing README from lib/App/AYCABTU.pm
include inc/Module/Install/AckXXX.pm
include inc/Module/Install/ManifestSkip.pm
Writing MANIFEST.SKIP
include inc/Module/Install/Metadata.pm
include inc/Module/Install/VersionCheck.pm
version_check 0.04 0.04 0.03
include inc/Module/Install/Scripts.pm
include inc/Module/Install/WriteAll.pm
include inc/Module/Install/Win32.pm
include inc/Module/Install/Can.pm
include inc/Module/Install/Fetch.pm
Writing Makefile for App::AYCABTU
Writing META.yml
include inc/Module/Package.pm
>> make release >> make purge
make[1]: Entering directory `/home/ingy/src/app-aycabtu-pm'
rm -f \
*.a core \
core.[0-9] blib/arch/auto/App/AYCABTU/extralibs.all \
core.[0-9][0-9] AYCABTU.bso \
pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \
AYCABTU.x \
perl tmon.out \
*.o pm_to_blib \
blib/arch/auto/App/AYCABTU/extralibs.ld blibdirs.ts \
core.[0-9][0-9][0-9][0-9][0-9] *perl.core \
core.*perl.*.? Makefile.aperl \
perl AYCABTU.def \
core.[0-9][0-9][0-9] mon.out \
libAYCABTU.def perlmain.c \
perl.exe so_locations \
AYCABTU.exp
rm -rf \
MANIFEST MANIFEST.SKIP \
blib
mv Makefile Makefile.old > /dev/null 2>&1
rm -f \
Makefile.old Makefile
rm -rf \
MYMETA.yml App-AYCABTU-0.04
rm -f App-AYCABTU-0.04.tar.gz
rm -f MANIFEST.bak _build
/usr/bin/perl "-Iinc" "-Ilib" "-MModule::Install::Admin" -e "remove_meta()"
rm -rf inc
make[1]: Leaving directory `/home/ingy/src/app-aycabtu-pm'
>> make release >> perl -Ilib Makefile.PL
include /home/ingy/src/app-aycabtu-pm/inc/Module/Install.pm
include inc/Module/Install/Package.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/Stardoc.pm
include inc/Module/Install/Makefile.pm
include inc/Module/Install/ReadmeFromPod.pm
Writing README from lib/App/AYCABTU.pm
include inc/Module/Install/AckXXX.pm
include inc/Module/Install/ManifestSkip.pm
Writing MANIFEST.SKIP
include inc/Module/Install/Metadata.pm
include inc/Module/Install/VersionCheck.pm
version_check 0.04 0.04 0.03
include inc/Module/Install/Scripts.pm
include inc/Module/Install/WriteAll.pm
include inc/Module/Install/Win32.pm
include inc/Module/Install/Can.pm
include inc/Module/Install/Fetch.pm
Writing Makefile for App::AYCABTU
Writing META.yml
include inc/Module/Package.pm
>> make release >> make test
make[1]: Entering directory `/home/ingy/src/app-aycabtu-pm'
cp lib/App/AYCABTU.pm blib/lib/App/AYCABTU.pm
cp bin/aycabtu blib/script/aycabtu
/usr/bin/perl "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/aycabtu
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/use_ok.t .. ok
All tests successful.
Files=1, Tests=1, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.08 cusr 0.02 csys = 0.13 CPU)
Result: PASS
make[1]: Leaving directory `/home/ingy/src/app-aycabtu-pm'
>> make release >> make purge
make[1]: Entering directory `/home/ingy/src/app-aycabtu-pm'
rm -f \
*.a core \
core.[0-9] blib/arch/auto/App/AYCABTU/extralibs.all \
core.[0-9][0-9] AYCABTU.bso \
pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \
AYCABTU.x \
perl tmon.out \
*.o pm_to_blib \
blib/arch/auto/App/AYCABTU/extralibs.ld blibdirs.ts \
core.[0-9][0-9][0-9][0-9][0-9] *perl.core \
core.*perl.*.? Makefile.aperl \
perl AYCABTU.def \
core.[0-9][0-9][0-9] mon.out \
libAYCABTU.def perlmain.c \
perl.exe so_locations \
AYCABTU.exp
rm -rf \
MANIFEST MANIFEST.SKIP \
blib
mv Makefile Makefile.old > /dev/null 2>&1
rm -f \
Makefile.old Makefile
rm -rf \
MYMETA.yml App-AYCABTU-0.04
rm -f App-AYCABTU-0.04.tar.gz
rm -f MANIFEST.bak _build
/usr/bin/perl "-Iinc" "-Ilib" "-MModule::Install::Admin" -e "remove_meta()"
rm -rf inc
make[1]: Leaving directory `/home/ingy/src/app-aycabtu-pm'
>> make release >> perl -Ilib Makefile.PL
include /home/ingy/src/app-aycabtu-pm/inc/Module/Install.pm
include inc/Module/Install/Package.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/Stardoc.pm
include inc/Module/Install/Makefile.pm
include inc/Module/Install/ReadmeFromPod.pm
Writing README from lib/App/AYCABTU.pm
include inc/Module/Install/AckXXX.pm
include inc/Module/Install/ManifestSkip.pm
Writing MANIFEST.SKIP
include inc/Module/Install/Metadata.pm
include inc/Module/Install/VersionCheck.pm
version_check 0.04 0.04 0.03
include inc/Module/Install/Scripts.pm
include inc/Module/Install/WriteAll.pm
include inc/Module/Install/Win32.pm
include inc/Module/Install/Can.pm
include inc/Module/Install/Fetch.pm
Writing Makefile for App::AYCABTU
Writing META.yml
include inc/Module/Package.pm
>> make release >> make
make[1]: Entering directory `/home/ingy/src/app-aycabtu-pm'
cp lib/App/AYCABTU.pm blib/lib/App/AYCABTU.pm
cp bin/aycabtu blib/script/aycabtu
/usr/bin/perl "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/aycabtu
Manifying blib/man3/App::AYCABTU.3pm
make[1]: Leaving directory `/home/ingy/src/app-aycabtu-pm'
>> make release >> sudo make install
[sudo] password for ingy:
Appending installation info to /usr/local/lib/perl/5.10.1/perllocal.pod
>> make release >> make purge
make[1]: Entering directory `/home/ingy/src/app-aycabtu-pm'
rm -f \
*.a core \
core.[0-9] blib/arch/auto/App/AYCABTU/extralibs.all \
core.[0-9][0-9] AYCABTU.bso \
pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \
AYCABTU.x \
perl tmon.out \
*.o pm_to_blib \
blib/arch/auto/App/AYCABTU/extralibs.ld blibdirs.ts \
core.[0-9][0-9][0-9][0-9][0-9] *perl.core \
core.*perl.*.? Makefile.aperl \
perl AYCABTU.def \
core.[0-9][0-9][0-9] mon.out \
libAYCABTU.def perlmain.c \
perl.exe so_locations \
AYCABTU.exp
rm -rf \
MANIFEST MANIFEST.SKIP \
blib
mv Makefile Makefile.old > /dev/null 2>&1
rm -f \
Makefile.old Makefile
rm -rf \
MYMETA.yml App-AYCABTU-0.04
rm -f App-AYCABTU-0.04.tar.gz
rm -f MANIFEST.bak _build
/usr/bin/perl "-Iinc" "-Ilib" "-MModule::Install::Admin" -e "remove_meta()"
rm -rf inc
make[1]: Leaving directory `/home/ingy/src/app-aycabtu-pm'
>> make release >> perl -Ilib Makefile.PL
include /home/ingy/src/app-aycabtu-pm/inc/Module/Install.pm
include inc/Module/Install/Package.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/Stardoc.pm
include inc/Module/Install/Makefile.pm
include inc/Module/Install/ReadmeFromPod.pm
Writing README from lib/App/AYCABTU.pm
include inc/Module/Install/AckXXX.pm
include inc/Module/Install/ManifestSkip.pm
Writing MANIFEST.SKIP
include inc/Module/Install/Metadata.pm
include inc/Module/Install/VersionCheck.pm
version_check 0.04 0.04 0.03
include inc/Module/Install/Scripts.pm
include inc/Module/Install/WriteAll.pm
include inc/Module/Install/Win32.pm
include inc/Module/Install/Can.pm
include inc/Module/Install/Fetch.pm
Writing Makefile for App::AYCABTU
Writing META.yml
include inc/Module/Package.pm
>> make release >> make manifest
make[1]: Entering directory `/home/ingy/src/app-aycabtu-pm'
/usr/bin/perl "-Iinc" "-MExtUtils::Manifest=mkmanifest" -e mkmanifest
Added to MANIFEST: bin/aycabtu
Added to MANIFEST: Changes
Added to MANIFEST: inc/Module/Install.pm
Added to MANIFEST: inc/Module/Install/Base.pm
Added to MANIFEST: inc/Module/Install/Can.pm
Added to MANIFEST: inc/Module/Install/Fetch.pm
Added to MANIFEST: inc/Module/Install/Makefile.pm
Added to MANIFEST: inc/Module/Install/Metadata.pm
Added to MANIFEST: inc/Module/Install/Package.pm
Added to MANIFEST: inc/Module/Install/Scripts.pm
Added to MANIFEST: inc/Module/Install/Win32.pm
Added to MANIFEST: inc/Module/Install/WriteAll.pm
Added to MANIFEST: inc/Module/Package.pm
Added to MANIFEST: lib/App/AYCABTU.pm
Added to MANIFEST: Makefile.PL
Added to MANIFEST: MANIFEST
Added to MANIFEST: META.yml
Added to MANIFEST: README
Added to MANIFEST: t/use_ok.t
make[1]: Leaving directory `/home/ingy/src/app-aycabtu-pm'
>> make release >> make upload
make[1]: Entering directory `/home/ingy/src/app-aycabtu-pm'
cp lib/App/AYCABTU.pm blib/lib/App/AYCABTU.pm
cp bin/aycabtu blib/script/aycabtu
/usr/bin/perl "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/aycabtu
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/use_ok.t .. ok
All tests successful.
Files=1, Tests=1, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.10 cusr 0.01 csys = 0.12 CPU)
Result: PASS
rm -rf App-AYCABTU-0.04
/usr/bin/perl "-Iinc" "-MExtUtils::Manifest=manicopy,maniread" \
-e "manicopy(maniread(),'App-AYCABTU-0.04', 'best');"
mkdir App-AYCABTU-0.04
mkdir App-AYCABTU-0.04/inc
mkdir App-AYCABTU-0.04/inc/Module
mkdir App-AYCABTU-0.04/inc/Module/Install
mkdir App-AYCABTU-0.04/t
mkdir App-AYCABTU-0.04/lib
mkdir App-AYCABTU-0.04/lib/App
mkdir App-AYCABTU-0.04/bin
/usr/bin/perl "-Iinc" -I. "-MModule::Install::Admin" -e "dist_preop(q(App-AYCABTU-0.04))"
tar cvf App-AYCABTU-0.04.tar App-AYCABTU-0.04
App-AYCABTU-0.04/
App-AYCABTU-0.04/META.yml
App-AYCABTU-0.04/t/
App-AYCABTU-0.04/t/use_ok.t
App-AYCABTU-0.04/inc/
App-AYCABTU-0.04/inc/Module/
App-AYCABTU-0.04/inc/Module/Install.pm
App-AYCABTU-0.04/inc/Module/Package.pm
App-AYCABTU-0.04/inc/Module/Install/
App-AYCABTU-0.04/inc/Module/Install/Fetch.pm
App-AYCABTU-0.04/inc/Module/Install/Win32.pm
App-AYCABTU-0.04/inc/Module/Install/WriteAll.pm
App-AYCABTU-0.04/inc/Module/Install/Can.pm
App-AYCABTU-0.04/inc/Module/Install/Metadata.pm
App-AYCABTU-0.04/inc/Module/Install/Package.pm
App-AYCABTU-0.04/inc/Module/Install/Scripts.pm
App-AYCABTU-0.04/inc/Module/Install/Makefile.pm
App-AYCABTU-0.04/inc/Module/Install/Base.pm
App-AYCABTU-0.04/Changes
App-AYCABTU-0.04/MANIFEST
App-AYCABTU-0.04/bin/
App-AYCABTU-0.04/bin/aycabtu
App-AYCABTU-0.04/README
App-AYCABTU-0.04/lib/
App-AYCABTU-0.04/lib/App/
App-AYCABTU-0.04/lib/App/AYCABTU.pm
App-AYCABTU-0.04/Makefile.PL
rm -rf App-AYCABTU-0.04
gzip --best App-AYCABTU-0.04.tar
cpan-upload -verbose App-AYCABTU-0.04.tar.gz
registering upload with PAUSE web server
----- REQUEST BEGIN -----
Authorization: Basic SU5HWTo3Vk02YVRybQ==
Content-Length: 24291
Content-Type: multipart/form-data; boundary=xYzZY
----- REQUEST END -------
POSTing upload for App-AYCABTU-0.04.tar.gz
Looks OK!
----- RESPONSE BEGIN -----
Cache-Control: no-cache
Connection: close
Date: Sun, 05 Jun 2011 14:16:14 GMT
Pragma: no-cache
Accept: *
Server: Apache
Vary: accept-encoding
Content-Length: 25511
Content-Type: text/html; charset=ISO-8859-1
Expires: Sun, 05 Jun 2011 14:16:14 GMT
Last-Modified: Sun, 05 Jun 2011 14:16:15 GMT
Client-Date: Sun, 05 Jun 2011 14:16:16 GMT
Client-Peer: 195.37.231.65:80
Client-Response-Num: 1
Link: </pause/pause_favicon.jpg>; rel="shortcut icon"; type="image/jpeg"
Link: </pause/pause.css>; rel="stylesheet"; title="pause"; type="text/css"
Title: PAUSE: add_uri
----- RESPONSE END -------
PAUSE add message sent ok [200]
make[1]: Leaving directory `/home/ingy/src/app-aycabtu-pm'
>> make release >> make purge
make[1]: Entering directory `/home/ingy/src/app-aycabtu-pm'
rm -f \
*.a core \
core.[0-9] blib/arch/auto/App/AYCABTU/extralibs.all \
core.[0-9][0-9] AYCABTU.bso \
pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \
AYCABTU.x \
perl tmon.out \
*.o pm_to_blib \
blib/arch/auto/App/AYCABTU/extralibs.ld blibdirs.ts \
core.[0-9][0-9][0-9][0-9][0-9] *perl.core \
core.*perl.*.? Makefile.aperl \
perl AYCABTU.def \
core.[0-9][0-9][0-9] mon.out \
libAYCABTU.def perlmain.c \
perl.exe so_locations \
AYCABTU.exp
rm -rf \
MANIFEST MANIFEST.SKIP \
blib
mv Makefile Makefile.old > /dev/null 2>&1
rm -f \
Makefile.old Makefile
rm -rf \
MYMETA.yml App-AYCABTU-0.04
rm -f App-AYCABTU-0.04.tar.gz
rm -f MANIFEST.bak _build
/usr/bin/perl "-Iinc" "-Ilib" "-MModule::Install::Admin" -e "remove_meta()"
rm -rf inc
make[1]: Leaving directory `/home/ingy/src/app-aycabtu-pm'
>> make release >> git commit -a -m "Released version 0.04"
[master 1861808] Released version 0.04
5 files changed, 18 insertions(+), 259 deletions(-)
delete mode 100644 MANIFEST.SKIP
delete mode 100644 lib/App/AYCABTU/OO.pm
>> make release >> git tag 0.04
>> make release >> git push
Counting objects: 13, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (7/7), 886 bytes, done.
Total 7 (delta 2), reused 0 (delta 0)
To [email protected]:ingydotnet/app-aycabtu-pm.git
6c81b11..1861808 HEAD -> master
>> make release >> git push --tag
Total 0 (delta 0), reused 0 (delta 0)
To [email protected]:ingydotnet/app-aycabtu-pm.git
* [new tag] 0.04 -> 0.04
App-AYCABTU-0.04 successfully released.
Relax. Have a beer.
ingy@thinkingy:~/src/app-aycabtu-pm$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment