A fast and simple blog backend.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
mediocre-blog/Makefile

22 lines
517 B

CONFIG = ./config.nix
BASH = $$(nix-build --no-out-link -A pkgs.bash)/bin/bash
entrypoint:
nix-build -A entrypoint --arg config '(import ${CONFIG})'
install-systemd:
$$(nix-build --no-out-link -A install --arg config '(import ${CONFIG})')
test:
${BASH} tmp-dev-env.sh \
--run "cd src; go test ./... -count=1 -tags integration"
shell:
${BASH} tmp-dev-env.sh \
--command " \
cd src; \
echo 'Loading test data...'; \
(cd cmd/load-test-data && go run main.go); \
return; \
"