diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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 |