aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoris2019-09-10 09:33:25 +0200
committerJoris2019-09-10 09:33:25 +0200
commit650a23ed763d8627af14ed154fdb9097a80875c5 (patch)
treecb9804f2995e5a2e5d61974cd35976928fa43ebd /Makefile
parent69989fff0c5d18c069120081eb5cfcc6a9bf8c29 (diff)
downloadad-listener-650a23ed763d8627af14ed154fdb9097a80875c5.tar.gz
ad-listener-650a23ed763d8627af14ed154fdb9097a80875c5.tar.bz2
ad-listener-650a23ed763d8627af14ed154fdb9097a80875c5.zip
Override sendmail path
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d47552e..339ea3e 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,10 @@ watch: build
@nodemon --watch src --delay 0.2 -e hs,conf --exec 'clear && make build-and-launch'
build-and-launch:
- @(pkill ad-listener || true) && (stack build && stack exec ad-listener || true)
+ @(pkill ad-listener || true) && (stack build && make run || true)
+
+run:
+ @stack exec ad-listener
build:
@stack build