Skip to content

Commit

Permalink
build: add bin/test
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredpixel committed Apr 1, 2022
1 parent 8f86d8c commit 6e4beba
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 67 deletions.
66 changes: 0 additions & 66 deletions .hlint.yaml

This file was deleted.

10 changes: 10 additions & 0 deletions bin/test
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash -eu
set -o pipefail
#-------------------------------------------------------------------------------
cabal run stylish-haskell -- -ir \
lib/ src/ test/

cabal run hlint -- \
lib/ src/ test/

cabal test --test-show-details=direct
3 changes: 2 additions & 1 deletion docker-compose.yml.example
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# vim: set ft=yaml:
version: "2.4"
services:
plugin_spellchecker:
image: docker.io/tiredpixel/isoxya-plugin-spellchecker.build:unstable
init: true
volumes:
- ./.hlint.yaml:/home/x/repo/.hlint.yaml
- ./.stylish-haskell.yaml:/home/x/repo/.stylish-haskell.yaml
- ./bin:/home/x/repo/bin
- ./isoxya-plugin-spellchecker.cabal:/home/x/repo/isoxya-plugin-spellchecker.cabal
- ./lib:/home/x/repo/lib
- ./src:/home/x/repo/src
Expand Down

0 comments on commit 6e4beba

Please sign in to comment.