mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2026-04-25 13:40:43 +02:00
This commit is contained in:
parent
c9b9ff1519
commit
b0fb9f013d
4 changed files with 11 additions and 7 deletions
1
.envrc
Normal file
1
.envrc
Normal file
|
|
@ -0,0 +1 @@
|
|||
use nix
|
||||
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
|||
target
|
||||
cov
|
||||
*.profraw
|
||||
.direnv
|
||||
cov
|
||||
target
|
||||
|
|
|
|||
8
Justfile
8
Justfile
|
|
@ -2,8 +2,9 @@ export LLVM_PROFILE_FILE := "cov/cargo-test-%p-%m.profraw"
|
|||
grcov-binary := "--binary-path ./target/coverage/deps/"
|
||||
grcov-ignore := "--ignore-not-existing --ignore '../*' --ignore \"/*\" --ignore 'target/*'"
|
||||
|
||||
[private]
|
||||
default:
|
||||
just -l
|
||||
@just -l
|
||||
|
||||
bacon:
|
||||
bacon -s
|
||||
|
|
@ -29,6 +30,7 @@ doc:
|
|||
cargo doc
|
||||
|
||||
example-tui-00:
|
||||
cargo run -p tengri_tui --example tui_00
|
||||
cargo run --example tui_00
|
||||
|
||||
example-tui-01:
|
||||
cargo run -p tengri_tui --example tui_01
|
||||
cargo run --example tui_01
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
{pkgs?import<nixpkgs>{}}:let
|
||||
stdenv = pkgs.clang19Stdenv;
|
||||
name = "tengri";
|
||||
nativeBuildInputs = [ pkgs.pkg-config pkgs.libclang pkgs.mold ];
|
||||
buildInputs = [ pkgs.libclang ];
|
||||
nativeBuildInputs = [ pkgs.pkg-config pkgs.clang pkgs.libclang pkgs.mold ];
|
||||
buildInputs = [ pkgs.libclang pkgs.jack2 ];
|
||||
LIBCLANG_PATH = "${pkgs.libclang.lib.outPath}/lib";
|
||||
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [];
|
||||
in pkgs.mkShell.override {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue