From e0ca2d19231c50543a6dc6bcc6335a3f9a84c595 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 29 Dec 2024 23:57:32 +0100 Subject: feat(src): Make usable --- build.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 build.sh (limited to 'build.sh') diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..ea323cb --- /dev/null +++ b/build.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env sh + +[ "$(free --mega | awk '{print $3}' | head -n 2 | tail -n 1)" -lt 2000 ] && { + echo "Not enough ram. Delete something." + exit 1 +} + +nix build .#default --log-format multiline-with-logs + +# vim: ft=sh -- cgit 1.4.1