summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorrebeccadoth <emmadoth@disroot.org>2025-09-19 23:51:19 +0200
committerrebeccadoth <emmadoth@disroot.org>2025-09-19 23:51:19 +0200
commita4306e54861b131125dcc87e681afb335562a042 (patch)
tree8667a690413b1b04826de89ae82becc28958da68 /build.sh
initial commit
Diffstat (limited to 'build.sh')
-rw-r--r--build.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100644
index 0000000..e82e71b
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+if [ -d "build" ]; then
+ cd build
+ cmake --build .
+ cd ..
+else
+ mkdir build
+ cd build
+ cmake ..
+ cd ..
+ ./build.sh
+fi \ No newline at end of file