~samhh/bangin

cfc8ca0436e99627fd45f68f71637f9f0350e13a — Sam A. Horvath-Hunt 2 months ago 2aa9330
Patch CI diff with ed instead
1 files changed, 5 insertions(+), 1 deletions(-)

M .build.yml
M .build.yml => .build.yml +5 -1
@@ 7,11 7,15 @@ tasks:
    - lint: |
        cd bangin
        make lint
    # CI diff doesn't support -I option, hence using ed to remove the first
    # line (which diffs based upon version of Pandoc used)
    - man-diff: |
        cd bangin
        cp bangin.1 bangin.1.old
        make man
        diff -I='*Pandoc*' bangin.1 bangin.1.old
        ed bangin.1 <<<$'1d\nwq\n'
        ed bangin.1.old <<<$'1d\nwq\n'
        diff bangin.1 bangin.1.old
    - test: |
        cd bangin
        make test