aboutsummaryrefslogtreecommitdiff
path: root/deps.sh
diff options
context:
space:
mode:
authorKitty-Cricket Piapiac <kitty@piapiac.org>2024-05-17 01:13:57 +0100
committerKitty-Cricket Piapiac <kitty@piapiac.org>2024-05-17 01:13:57 +0100
commit37863ce94240700dbb4c06a0d90ec1d5b619300f (patch)
treeaf854b9d504c1cde8b5cae18a303fad9357e3fae /deps.sh
Meow
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 ..