~samhh/bangin

a99b870dfe56d6b79988d98bf71d5a0b7f6cd4e1 — Sam A. Horvath-Hunt 2 months ago cfc8ca0 master
Check for CI diff with git instead

This one should finally work... hopefully.
1 files changed, 1 insertions(+), 6 deletions(-)

M .build.yml
M .build.yml => .build.yml +1 -6
@@ 7,15 7,10 @@ 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
        ed bangin.1 <<<$'1d\nwq\n'
        ed bangin.1.old <<<$'1d\nwq\n'
        diff bangin.1 bangin.1.old
        git diff -I Pandoc --exit-code
    - test: |
        cd bangin
        make test