Permalink
Browse files

build: update to process *.md files and others

  • Loading branch information...
1 parent a61ea7a commit d72f0a559a5379761149c149a32f889304501b39 @dg dg committed Sep 6, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 build.php
View
@@ -45,10 +45,16 @@
$project->exportGit($dir53, $tag);
- $project->copy("$dir53/client-side/forms/netteForms.js", "$dir53/sandbox/www/js/netteForms.js");
+ // rename *.md and delete some files
+ foreach (Finder::findFiles('*.md')->from($dir53) as $file) {
+ $project->rename($file, substr($file, 0, -2) . 'txt');
+ }
$project->delete("$dir53/sandbox/license.txt");
$project->delete("$dir53/examples/license.txt");
$project->delete("$dir53/tools/license.txt");
+ $project->delete("$dir53/composer.json");
+ $project->delete("$dir53/.travis.yml");
+ $project->copy("$dir53/client-side/forms/netteForms.js", "$dir53/sandbox/www/js/netteForms.js");
// build specific packages
$project->delete($dir52p);

0 comments on commit d72f0a5

Please sign in to comment.