Skip to content

Commit

Permalink
bin/run: replace test
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredpixel committed Jun 20, 2022
1 parent d7c69db commit 8af7f2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ RUN VERSION=$(echo "$GIT_DESCRIBE" | sed 's/-/./') && \
ENV PATH=/home/x/r/bin:/home/x/.cabal/bin:$PATH \
LANG=C.UTF-8

CMD ["cabal", "run", "isoxya-plugin-spellchecker", "--", \
"-b", "0.0.0.0", "-p", "80"]
CMD ["run"]

EXPOSE 80

Expand Down
3 changes: 3 additions & 0 deletions bin/test → bin/run
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ cabal run hlint -- \
lib/ src/ test/

cabal test --test-show-details=direct

exec cabal run isoxya-plugin-spellchecker -- \
-b 0.0.0.0 -p 80

0 comments on commit 8af7f2a

Please sign in to comment.