~singpolyma/cheogram

6c009d5c9835cc879e3b74a8ad09faa4151ec9d6 — Stephen Paul Weber 3 years ago 2885b95
Setup for sr.ht CI
2 files changed, 28 insertions(+), 2 deletions(-)

A .builds/debian-stable.yml
M Makefile
A .builds/debian-stable.yml => .builds/debian-stable.yml +26 -0
@@ 0,0 1,26 @@
image: debian/stable
sources:
- https://git.singpolyma.net/cheogram
packages:
- ghc
- cabal-install
- c2hs
- pkg-config
- libgnutls28-dev
- libgsasl7-dev
- libtokyocabinet-dev
- libxml2-dev
- hlint
environment:
  LANG: C.UTF-8
artifacts:
- cheogram/dist/build/cheogram
tasks:
- cabal_update: |
    cabal update
- dependencies: |
    cd cheogram
    cabal install --enable-tests --only-dependencies
- test: |
    cd cheogram
    make

M Makefile => Makefile +2 -2
@@ 1,6 1,6 @@
GHCFLAGS=-Wall -Wno-tabs -fno-warn-name-shadowing -XHaskell2010 -O2
HLINTFLAGS=-XHaskell2010 -XCPP -i 'Use camelCase' -i 'Use String' -i 'Use head' -i 'Use string literal' -i 'Use list comprehension' --utf8
VERSION=0.6
HLINTFLAGS=-XHaskell2010 -XCPP -i 'Use camelCase' -i 'Use String' -i 'Use head' -i 'Use string literal' -i 'Use list comprehension'
VERSION=0.0.1

.PHONY: all shell clean doc install