summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f5eadc0..94eafeb 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,11 @@ test:
srv.dev-shell:
$$(nix-build --no-out-link -A pkgs.bash)/bin/bash srv-dev-env.sh \
- --command "cd srv/src; return"
+ --command " \
+ cd srv/src; \
+ go run cmd/import-posts/main.go ../../static/src/_posts/*; \
+ return; \
+ "
srv.shell:
nix-shell -A srv.shellWithBuild --arg baseConfig '(import ${CONFIG})' \