summaryrefslogtreecommitdiff
path: root/Build.PL
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-06-30 09:01:34 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-06-30 09:01:34 +0200
commitbea8dbc124c6d0b4cb9ff23cac23535cf32ef7d4 (patch)
treea7c0f41256bc65932da5efd053a6d4c6086de194 /Build.PL
parent095f47b42ae96e922439a31858cd5d7481f05200 (diff)
Add Build.PL and basic testsHEADmaster
Diffstat (limited to 'Build.PL')
-rw-r--r--Build.PL24
1 files changed, 24 insertions, 0 deletions
diff --git a/Build.PL b/Build.PL
new file mode 100644
index 0000000..9137937
--- /dev/null
+++ b/Build.PL
@@ -0,0 +1,24 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+use Module::Build;
+
+my $build = Module::Build->new(
+ build_requires => {
+ 'Test::Compile' => 0,
+ 'Test::Pod' => 0,
+ },
+ dist_name => 'is_nighttime',
+ dist_version_from => 'bin/is_nighttime',
+ license => 'perl',
+ requires => {
+ 'perl' => '5.20.0',
+ 'File::Slurp' => 0,
+ 'Getopt::Long' => 0,
+ 'Net::MQTT::Simple' => 0,
+ 'Time::HiRes' => 0,
+ },
+ sign => 1,
+);
+$build->create_build_script();