From 223ae6aa0b14c071d5719ada0cc6b43e9199a81b Mon Sep 17 00:00:00 2001 From: Joris Date: Tue, 3 Sep 2019 23:25:39 +0200 Subject: Use wreq instead of http-conduit to maintain cookies in a session --- Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 33b5b20..039a460 100644 --- a/Makefile +++ b/Makefile @@ -11,19 +11,22 @@ stop: # Other commands clean: - @cabal new-clean > /dev/null + @stack clean > /dev/null + +install: + @stack setup watch: build @nodemon --watch src --delay 0.2 -e hs,conf --exec 'clear && make build-and-launch' build-and-launch: - @(pkill ad-listener || true) && (nix-shell -p zlib --command "cabal new-run ad-listener" || true) + @(pkill ad-listener || true) && (stack exec ad-listener || true) build: - @nix-shell -p zlib --command "cabal new-build" + @stack build repl: - @cabal new-repl + @stack repl test: - @nix-shell -p zlib --command "cabal new-test" + @stack test -- cgit v1.2.3