all: build # Dev commands start: @nix-shell --command "tmuxinator local" stop: @nix-shell --command "tmuxinator stop ad-listener" # Other commands clean: @cabal new-clean > /dev/null 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) build: @nix-shell -p zlib --command "cabal new-build" repl: @cabal new-repl test: @nix-shell -p zlib --command "cabal new-test"