From 663abf313931b49fad64b425ece6a5a257dc7938 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Thu, 27 Jan 2022 16:14:14 -0800 Subject: [PATCH] clean up scripts --- MANIFEST.in | 1 - mangen.py | 3 --- runtests.sh | 1 + updatedocs.sh | 2 ++ 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index cbed6f59..1db4a364 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,2 @@ -include jc/man/jc.1.gz include man/jc.1 include CHANGELOG diff --git a/mangen.py b/mangen.py index ed2629ab..adda2da5 100755 --- a/mangen.py +++ b/mangen.py @@ -1,9 +1,6 @@ #!/usr/bin/env python3 # Genereate man page from jc metadata using jinja2 templates from datetime import date -import os -import gzip -import shutil import jc.cli from jinja2 import Environment, FileSystemLoader diff --git a/runtests.sh b/runtests.sh index d0a7ab96..b6f62a72 100755 --- a/runtests.sh +++ b/runtests.sh @@ -1,4 +1,5 @@ #!/bin/bash # system should be in "America/Los_Angeles" timezone for all tests to pass +# ensure no local plugin parsers are installed for all tests to pass python3 -m unittest -v diff --git a/updatedocs.sh b/updatedocs.sh index 6294c837..a3e4e564 100755 --- a/updatedocs.sh +++ b/updatedocs.sh @@ -3,7 +3,9 @@ echo === Building README.md ./readmegen.py && echo "+++ README.md build successful" || echo "--- README.md build failed" + echo === Building man page ./mangen.py && echo "+++ man page build successful" || echo "--- man page build failed" + echo === Building documentation ./docgen.sh && echo "+++ documentation build successful" || echo "--- documentation build failed"