Navigation Menu

Skip to content

Commit

Permalink
Generate README automatically and keep out of git.
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcj committed Mar 18, 2012
1 parent faff3c4 commit 05c41b4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 127 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -24,3 +24,4 @@ dll.base
dll.exp dll.exp
Devel-Cover-* Devel-Cover-*
tags tags
README
6 changes: 3 additions & 3 deletions Makefile.PL
Expand Up @@ -313,9 +313,9 @@ WriteMakefile
"Test::Warn" => 0, "Test::Warn" => 0,
}, },
TYPEMAPS => [ "utils/typemap" ], TYPEMAPS => [ "utils/typemap" ],
clean => { FILES => "t/e2e/* cover_db* t/e2e/*cover_db" }, clean => { FILES => "t/e2e/* cover_db* t/e2e/*cover_db README" },
dist => { COMPRESS => "gzip --best --force" }, dist => { COMPRESS => "gzip --best --force" },
test => { TESTS => "t/*/*.t" }, test => { TESTS => "t/*/*.t" },
realclean => $] < 5.008008 ? realclean => $] < 5.008008 ?
{ {
FILES => "lib/Devel/Cover/Inc.pm", FILES => "lib/Devel/Cover/Inc.pm",
Expand Down
117 changes: 0 additions & 117 deletions README

This file was deleted.

18 changes: 11 additions & 7 deletions dist.ini
Expand Up @@ -7,12 +7,13 @@ copyright_holder = PJCJ
; also update makefile and generate meta files with makefile ; also update makefile and generate meta files with makefile
version = 0.79 version = 0.79


[GatherDir] ; gathers files from the dist dir [GatherDir] ; gather files from the dist dir
include_dotfiles = 1 include_dotfiles = 1
[ManifestSkip] ; removes gathered files specified by MANIFEST.SKIP [ManifestSkip] ; remove gathered files specified by MANIFEST.SKIP
[ExecDir] ; marks bin as the dir to contain scripts [ExecDir] ; mark bin as the dir to contain scripts
[OurPkgVersion] ; adds versions to the packages [OurPkgVersion] ; add versions to the packages
[PodVersion] ; adds versions to the POD of packages [PodVersion] ; add versions to the POD of packages
; [License] ; add LICENCE file


[Manifest] ; builds the manifest from the gathered files [Manifest] ; builds the manifest from the gathered files


Expand All @@ -24,14 +25,17 @@ format = Release %v - %{d}dth %{MMMM yyyy}d
[ConfirmRelease] ; asks for manual confirmation of release [ConfirmRelease] ; asks for manual confirmation of release
[UploadToCPAN] ; uploads to cpan [UploadToCPAN] ; uploads to cpan


[Run::BeforeBuild]
run = make README

; [Run::AfterBuild]
; run = chdir %d && %x -e 'rename "LICENSE" => "LICENCE"' # yeah, yeah, yeah


; following can do stuff, but aren't used yet ; following can do stuff, but aren't used yet
;[ExtraTests] ;[ExtraTests]
;[PruneCruft ] ;[PruneCruft ]
;[MetaYAML ] ; builds META.yaml ;[MetaYAML ] ; builds META.yaml
;[MetaJSON ] ; builds META.json ;[MetaJSON ] ; builds META.json
;[License ]
;[Readme ]
;[ShareDir ] ;[ShareDir ]
;[MakeMaker ] ;[MakeMaker ]


Expand Down

0 comments on commit 05c41b4

Please sign in to comment.