Skip to content

Commit

Permalink
Prevent bareword errors in Makefile.PL when inc/ is wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
yannk committed Apr 9, 2012
1 parent 2f857ee commit f7bca99
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
META.yml
META.*
MYMETA.*
Makefile
inc/
pm_to_blib
Expand Down
24 changes: 12 additions & 12 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ sub github { }
sub auto_set_repository { }

use inc::Module::Install;
name 'Net-AppNotifications';
all_from 'lib/Net/AppNotifications.pm';
name('Net-AppNotifications');
all_from('lib/Net/AppNotifications.pm');

include 'Module:AutoInstall';
include('Module:AutoInstall');

requires 'Find::Lib';
requires 'AnyEvent';
requires 'AnyEvent::HTTP';
requires 'URI';
requires('Find::Lib');
requires('AnyEvent');
requires('AnyEvent::HTTP');
requires('URI');

build_requires 'Test::More';
auto_include_deps;
build_requires('Test::More');
auto_include_deps();
author_tests('xt');
auto_set_repository;
githubmeta;
WriteAll;
auto_set_repository();
githubmeta();
WriteAll();

0 comments on commit f7bca99

Please sign in to comment.