aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoris2016-11-14 16:57:51 +0100
committerJoris2016-11-14 16:57:51 +0100
commitf5c6d4769363dae5d55ea900a6ca885cb02e41e7 (patch)
tree3f73d6f4a1e66877bbdd62125df4147d2255186a /Makefile
parent11b77ffc8b283260a9781aa12189ac7ed469f318 (diff)
downloadad-listener-f5c6d4769363dae5d55ea900a6ca885cb02e41e7.tar.gz
ad-listener-f5c6d4769363dae5d55ea900a6ca885cb02e41e7.tar.bz2
ad-listener-f5c6d4769363dae5d55ea900a6ca885cb02e41e7.zip
Update tooling
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7f2c9d4..e87bf64 100644
--- a/Makefile
+++ b/Makefile
@@ -2,18 +2,17 @@ all: build
clean:
@cabal clean > /dev/null
- @rm -r node_modules >/dev/null 2>&1 || true
install:
@cabal2nix --shell . > leboncoin-listener.nix
@nix-shell leboncoin-listener.nix -I ~ --command 'cabal configure'
- @npm install
watch:
- @./node_modules/nodemon/bin/nodemon.js -e hs,conf --exec 'make build-and-launch'
+ @nodemon -e hs,conf --exec 'make build-and-launch'
build-and-launch:
@(pkill leboncoin-listener || true) && (cabal run || true)
+.PHONY: build
build:
@cabal build || true