diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-06-30 09:01:34 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-06-30 09:01:34 +0200 |
commit | bea8dbc124c6d0b4cb9ff23cac23535cf32ef7d4 (patch) | |
tree | a7c0f41256bc65932da5efd053a6d4c6086de194 | |
parent | 095f47b42ae96e922439a31858cd5d7481f05200 (diff) |
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | Build.PL | 24 | ||||
-rwxr-xr-x | t/01-compile-pl.t | 7 | ||||
-rwxr-xr-x | t/10-pod.t | 7 |
4 files changed, 45 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e9d5916 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +/Build +/build/ +/_build/ +/blib/ +/cover_db/ +/MANIFEST* +/MYMETA.* 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(); diff --git a/t/01-compile-pl.t b/t/01-compile-pl.t new file mode 100755 index 0000000..92bff6e --- /dev/null +++ b/t/01-compile-pl.t @@ -0,0 +1,7 @@ +#!/usr/bin/env perl +use strict; +use warnings; +use 5.010; +use Test::Compile; + +all_pl_files_ok(); diff --git a/t/10-pod.t b/t/10-pod.t new file mode 100755 index 0000000..a488dfa --- /dev/null +++ b/t/10-pod.t @@ -0,0 +1,7 @@ +#!/usr/bin/env perl +use strict; +use warnings; +use 5.010; +use Test::Pod; + +all_pod_files_ok(); |