aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoris2020-01-20 23:01:58 +0100
committerJoris2020-01-20 23:01:58 +0100
commit6612972e0f8164bd5d062792ba175e1876e4084f (patch)
treeea2b5914e9ece507bd1bc0afb7c7ff8d65b1de17 /Makefile
parentf4dc1c6196388168eb99b86f5fab7c865cb9cf45 (diff)
Update shared cost tools
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index f244010..7ccb5de 100644
--- a/Makefile
+++ b/Makefile
@@ -7,22 +7,22 @@ stop:
@tmux kill-session -t personalPage
clean:
- @stack exec personalPage clean > /dev/null 2>&1 || true
- @stack clean > /dev/null
+ @unset STACK_IN_NIX_SHELL && stack exec personalPage clean > /dev/null 2>&1 || true
+ @unset STACK_IN_NIX_SHELL && stack clean > /dev/null
install:
- @stack setup
+ @unset STACK_IN_NIX_SHELL && stack setup
build:
- @stack build
- @stack exec personalPage build
+ @unset STACK_IN_NIX_SHELL && stack build
+ @unset STACK_IN_NIX_SHELL && stack exec personalPage build
deploy:
@make build
- @stack exec personalPage deploy
+ @unset STACK_IN_NIX_SHELL && stack exec personalPage deploy
watch:
@nodemon --watch src -e hs --exec 'make watch-command --silent'
watch-command:
- @(killall personalPage || :) && sleep 1 && stack build && stack exec personalPage clean && stack exec personalPage watch
+ @unset STACK_IN_NIX_SHELL && (killall personalPage || :) && sleep 1 && stack build && stack exec personalPage clean && stack exec personalPage watch