blob: 552dd7b9af04b281191ad6f8014082c41793bba0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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 -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; \
"
|