diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-05-14 20:42:43 -0600 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-05-14 20:42:43 -0600 |
commit | e24dd6d630cf558c616c1252bacfff6d343b4194 (patch) | |
tree | 8e272e095f2f906adeae4688f4b81396926e7a73 /Makefile | |
parent | e41ff2b897be24a894e75b850f1c06652cc034be (diff) |
Import posts in dev-shell target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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})' \ |