easy-dhall-nix/test.sh

9 lines
139 B
Bash
Executable File

#!/usr/bin/env sh
set -e
tmp="$(mktemp -d)"
trap "rm -r $tmp" EXIT
nix-build \
--out-link "$tmp"/result \
./test.nix
"$tmp/result"