use just file, make flake work on mac

pull/12/head
Patrick Cleavelin 2024-04-01 20:46:56 -05:00
parent f3054d2805
commit 18b67e471a
3 changed files with 13 additions and 4 deletions

5
.gitignore vendored
View File

@ -1,5 +1,4 @@
/target
**/result
result/
result
/config
.env

View File

@ -42,7 +42,7 @@
cmake
libopus
yt-dlp
];
] ++ (if pkgs.system == "aarch64-darwin" || pkgs.system == "x86_64-darwin" then [ darwin.apple_sdk.frameworks.Security darwin.apple_sdk.frameworks.SystemConfiguration ] else []);
};
packages = with pkgs; flake-utils.lib.flattenTree rec {

10
justfile Normal file
View File

@ -0,0 +1,10 @@
alias b := build
alias r := run
set dotenv-load
build:
cargo build
run:
cargo run