Explorar el Código

Makefile.PL added and made active

Evan Carroll hace 5 años
padre
commit
495778755f
Se han modificado 2 ficheros con 19 adiciones y 1 borrados
  1. 1 1
      Makefile
  2. 18 0
      Makefile.PL

+ 1 - 1
Makefile

@@ -30,6 +30,6 @@ depend:
 	apt-get install -y libuuid-tiny-perl libcapture-tiny-perl libconfig-simple-perl libdbi-perl libfile-slurper-perl libfile-touch-perl
 	apt-get install -y libfile-copy-recursive-perl libxml-rss-perl libmodule-install-perl
 	apt-get install -y libmoose-perl libmoosex-types-datetime-perl libxml-libxml-perl
-	cpanm -n Mojo::File Date::Format WWW::SitemapIndex::XML WWW::Sitemap::XML HTTP::Body Pod::Html URL::Encode
+	cpanm -n --installdeps .
 	wget -O www/scripts/fgEmojiPicker.js https://github.com/woody180/vanilla-javascript-emoji-picker/raw/master/fgEmojiPicker.js
 	wget -O www/scripts/full-emoji-list.json https://github.com/woody180/vanilla-javascript-emoji-picker/raw/master/full-emoji-list.json

+ 18 - 0
Makefile.PL

@@ -0,0 +1,18 @@
+use strict;
+use warnings;
+
+use ExtUtils::MakeMaker;
+
+WriteMakefile(
+  VERSION   => '0.01',
+  PREREQ_PM => {
+    'Mojo::File' => '0',
+    'Date::Format' => '0',
+    'WWW::SitemapIndex::XML' => '0',
+    'WWW::Sitemap::XML' => '0',
+    'HTTP::Body' => '0',
+    'Pod::Html' => '0',
+    'URL::Encode' => '0',
+  },
+  test => {TESTS => 't/*.t'}
+);