parent
4b18c95ed1
commit
4c9a9471dc
1 changed files with 5 additions and 3 deletions
6
.envrc
6
.envrc
|
|
@ -1,4 +1,6 @@
|
||||||
|
if has nix; then
|
||||||
use flake
|
use flake
|
||||||
|
fi
|
||||||
|
|
||||||
shopt -s globstar
|
shopt -s globstar
|
||||||
watch_file assets/cpp/**/*.cpp
|
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 -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DDISTRIBUTOR=direnv
|
||||||
cmake --build build
|
cmake --build build
|
||||||
export CAELESTIA_LIB_DIR="$PWD/build/lib";
|
export CAELESTIA_LIB_DIR="$PWD/build/lib"
|
||||||
export QML2_IMPORT_PATH="$PWD/build/qml";
|
export QML2_IMPORT_PATH="$PWD/build/qml:${QML2_IMPORT_PATH:-}"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue