Navigation Menu

Skip to content

Commit

Permalink
add a tool to generate template for readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zmughal committed Jun 12, 2015
1 parent d3bb54b commit 2e78760
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tool/gen-readme-template
@@ -0,0 +1,19 @@
#!/bin/sh

REPO="$1"
DIST="$2"
MOD="$3"

if [ -z "$1" ]; then
echo "example: $0 pdl-io-gd PDL-IO-GD PDL::IO::GD"
fi

cat <<EOF
# ${DIST}
![PDL logo](http://pdlporters.github.io/images/icons/pdl.png)
[![Build Status](https://travis-ci.org/PDLPorters/${REPO}.png?branch=master)](https://travis-ci.org/PDLPorters/${REPO})
[![Coverage Status](https://coveralls.io/repos/PDLPorters/${REPO}/badge.png?branch=master)](https://coveralls.io/r/PDLPorters/${REPO}?branch=master)
[![CPAN version](https://badge.fury.io/pl/${DIST}.svg)](https://metacpan.org/pod/${MOD})
EOF

0 comments on commit 2e78760

Please sign in to comment.