~samhh/bangin

ref: cfc8ca0436e99627fd45f68f71637f9f0350e13a bangin/.build.yml -rw-r--r-- 511 bytes
cfc8ca04 — Sam A. Horvath-Hunt Patch CI diff with ed instead 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
image: alpine/edge
packages:
    - pandoc
    - shellcheck
    - shunit2
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
    - test: |
        cd bangin
        make test