Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Specialise for my tooling

  • Loading branch information...
commit 9bbf9790d77cc07374130fb20396ec8018296258 1 parent b7aea38
@kentfredric kentfredric authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 travis_enable.pl
View
7 travis_enable.pl
@@ -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";
}
Please sign in to comment.
Something went wrong with that request. Please try again.