Permalink
Browse files

Specialise for my tooling

  • Loading branch information...
1 parent b7aea38 commit 9bbf9790d77cc07374130fb20396ec8018296258 @kentfredric kentfredric committed Dec 21, 2013
Showing with 5 additions and 2 deletions.
  1. +5 −2 travis_enable.pl
View
@@ -6,6 +6,9 @@
use Net::GitHub;
use Getopt::Lucid ':all';
use Path::Tiny;
+use FindBin;
+
+my $yamls = path($FindBin::Bin)->child('yamls');
my $opts = Getopt::Lucid->getopt(
[
@@ -79,7 +82,7 @@ sub _git_config {
say "Enabled travis for $repos[0]";
}
-unless ( -f 'travis.yml' ) {
- path("~/.dzil/master/template/.travis.yml")->copy(".travis.yml");
+unless ( -f '.travis.yml' ) {
+ $yamls->child('sterile2.yaml')->copy('./.travis.yml');
say "copied .travis.yml to current directory";
}

0 comments on commit 9bbf979

Please sign in to comment.