diff options
| -rw-r--r-- | .envrc | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,4 +1,6 @@ -use flake +if has nix; then + use flake +fi shopt -s globstar watch_file assets/cpp/**/*.cpp @@ -8,5 +10,5 @@ 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"; +export CAELESTIA_LIB_DIR="$PWD/build/lib" +export QML2_IMPORT_PATH="$PWD/build/qml:${QML2_IMPORT_PATH:-}" |