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
Devel-Cover-*
tags
README
6 changes: 3 additions & 3 deletions Makefile.PL
Expand Up @@ -313,9 +313,9 @@ WriteMakefile
"Test::Warn" => 0,
},
TYPEMAPS => [ "utils/typemap" ],
clean => { FILES => "t/e2e/* cover_db* t/e2e/*cover_db" },
dist => { COMPRESS => "gzip --best --force" },
test => { TESTS => "t/*/*.t" },
clean => { FILES => "t/e2e/* cover_db* t/e2e/*cover_db README" },
dist => { COMPRESS => "gzip --best --force" },
test => { TESTS => "t/*/*.t" },
realclean => $] < 5.008008 ?
{
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
version = 0.79

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

[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
[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
;[ExtraTests]
;[PruneCruft ]
;[MetaYAML ] ; builds META.yaml
;[MetaJSON ] ; builds META.json
;[License ]
;[Readme ]
;[ShareDir ]
;[MakeMaker ]

Expand Down

0 comments on commit 05c41b4

Please sign in to comment.