From 1fae720d364681d7d1367ecce71abd780eecd087 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 1 Apr 2021 02:32:37 -0700 Subject: build: generate PublicInbox.pm with $VERSION Thanks to git-describe, we can generate and update this file to aid users in bug reporting. --- t/config.t | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 't') diff --git a/t/config.t b/t/config.t index 73527ec2..877e5d5d 100644 --- a/t/config.t +++ b/t/config.t @@ -1,11 +1,12 @@ # Copyright (C) 2014-2021 all contributors # License: AGPL-3.0+ use strict; -use warnings; -use Test::More; -use PublicInbox::Config; +use v5.10.1; use PublicInbox::TestCommon; use PublicInbox::Import; +use_ok 'PublicInbox'; +ok(defined(eval('$PublicInbox::VERSION')), 'VERSION defined'); +use_ok 'PublicInbox::Config'; my ($tmpdir, $for_destroy) = tmpdir(); { -- cgit v1.2.3-24-ge0c7