summaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
Diffstat (limited to '.envrc')
-rw-r--r--.envrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/.envrc b/.envrc
index 3550a30..a27edf2 100644
--- a/.envrc
+++ b/.envrc
@@ -1 +1,12 @@
use flake
+
+shopt -s globstar
+watch_file assets/cpp/**/*.cpp
+watch_file assets/cpp/**/*.hpp
+watch_file plugin/**/*.cpp
+watch_file plugin/**/*.hpp
+
+cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DDISTRIBUTOR=direnv
+cmake --build build
+export CAELESTIA_LIB_DIR="$PWD/build/lib";
+export QML2_IMPORT_PATH="$PWD/build/qml";