From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 2240E2018B for ; Mon, 20 Jun 2016 00:57:19 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/7] MANIFEST: update with recent changes Date: Mon, 20 Jun 2016 00:57:11 +0000 Message-Id: <20160620005717.1482-2-e@80x24.org> In-Reply-To: <20160620005717.1482-1-e@80x24.org> References: <20160620005717.1482-1-e@80x24.org> List-Id: And add a check-manifest target to the Makefile to ensure we're up-to-date with git (but do not depend on git). --- .gitignore | 1 + MANIFEST | 2 ++ Makefile.PL | 5 ++++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 18d0021..3b333a5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /config.mak +/MANIFEST.gen /Makefile.old /pm_to_blib /MYMETA.* diff --git a/MANIFEST b/MANIFEST index 9c8cc1c..17a2a31 100644 --- a/MANIFEST +++ b/MANIFEST @@ -76,6 +76,7 @@ lib/PublicInbox/View.pm lib/PublicInbox/WWW.pm lib/PublicInbox/WatchMaildir.pm lib/PublicInbox/WwwAttach.pm +lib/PublicInbox/WwwStream.pm sa_config/Makefile sa_config/README sa_config/root/etc/spamassassin/public-inbox.pre @@ -134,3 +135,4 @@ t/search.t t/spawn.t t/utf8.mbox t/view.t +t/watch_maildir.t diff --git a/Makefile.PL b/Makefile.PL index 171712a..4a91103 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -47,7 +47,10 @@ my_syntax := \$(addsuffix .syntax, $PM_FILES \$(EXE_FILES) \$(SCRIPTS)) syntax:: \$(my_syntax) -check:: pure_all +check-manifest :: MANIFEST + if git ls-files >\$<.gen 2>&1; then diff -u \$< \$<.gen; fi + +check:: pure_all check-manifest \$(EATMYDATA) prove -lv -j\$(N) EOF