diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-29 23:57:32 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-29 23:57:32 +0100 |
commit | e0ca2d19231c50543a6dc6bcc6335a3f9a84c595 (patch) | |
tree | af4a581ebb6aacb456ea493a16a9934e01b5dcef /build.sh | |
parent | fix(src): Add some default stuff (diff) | |
download | qmk_layout-e0ca2d19231c50543a6dc6bcc6335a3f9a84c595.zip |
feat(src): Make usable
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 10 |
1 files changed, 10 insertions, 0 deletions
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 |