Skip to content

Commit

Permalink
add task to compile requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Nov 16, 2024
1 parent f59a3aa commit 614f3d9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,13 @@ EOF
'';
};

tasks = {
"devenv:compile-requirements" = {
exec = "uv pip compile requirements.in -o requirements.txt";
before = [ "devenv:python:virtualenv" ];
};
};

pre-commit.hooks = {
nixpkgs-fmt.enable = true;
#shellcheck.enable = true;
Expand Down

0 comments on commit 614f3d9

Please sign in to comment.