Skip to content

Commit

Permalink
Update README and pakefile spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
craig-davis committed Jan 10, 2015
1 parent 6dfb91a commit f246f63
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -107,7 +107,7 @@ build system - I highly recommend Pake. It's got enough tools to handle SSH
deployments and other sophisticated build steps. In this project, it's used to
setup the dev web server and handle some code sniffs. With the
[Pake CLI][pake-cli] tool you don't have to install it globally. I think
it's a compelling an overlooked tool. [Go see it][pake]!
it's a compelling and overlooked tool. [Go see it][pake]!

## Contributing

Expand Down
12 changes: 7 additions & 5 deletions pakefile
Expand Up @@ -40,11 +40,13 @@ function run_contributors()
$contributors = explode("\n", shell_exec("git shortlog -s -n"));
$table = "| Author | Commits\n| --- | ---\n";
foreach ($contributors as $contributor) {
if (!trim($contributor)) { continue; }
$contributor = explode("\t", $contributor);
$table .= sprintf(
"| %s | %s |\n", trim($contributor[1]), trim($contributor[0])
);
if (!trim($contributor)) { continue; }
$contributor = explode("\t", $contributor);
$table .= sprintf(
"| %s | %s |\n",
trim($contributor[1]),
trim($contributor[0])
);
}
$output = preg_replace(
'/('.preg_quote($startPoint).')(.*)('.preg_quote($endPoint).')/si',
Expand Down

0 comments on commit f246f63

Please sign in to comment.