aboutsummaryrefslogtreecommitdiff
path: root/deps.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deps.sh')
-rwxr-xr-xdeps.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/deps.sh b/deps.sh
new file mode 100755
index 0000000..8a9afcc
--- /dev/null
+++ b/deps.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+# <3 nix
+RAY=$(nix eval --raw nixpkgs#raylib)
+git clone https://github.com/Brian-ED/rayed-bqn
+cd rayed-bqn
+ git submodule update --init --recursive
+ cat > config.bqn << EOF
+raylibLibPath ⇐ "${RAY}/lib/libraylib.so"
+raylibHeaderPath ⇐ "${RAY}/include/raylib.h"
+EOF
+cd ..