integrate webserver into cli
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
{ age
|
||||
, argcomplete
|
||||
, fastapi
|
||||
, uvicorn
|
||||
, bubblewrap
|
||||
, installShellFiles
|
||||
, nix
|
||||
@@ -22,7 +24,11 @@ let
|
||||
# evaluating the flake .#
|
||||
CLAN_OPTIONS_FILE = ./clan_cli/config/jsonschema/options.json;
|
||||
|
||||
dependencies = [ argcomplete ];
|
||||
dependencies = [
|
||||
argcomplete # optional dependency: if not enabled, shell completion will not work
|
||||
fastapi
|
||||
uvicorn # optional dependencies: if not enabled, webui subcommand will not work
|
||||
];
|
||||
|
||||
testDependencies = [
|
||||
pytest
|
||||
@@ -73,7 +79,7 @@ python3.pkgs.buildPythonPackage {
|
||||
wheel
|
||||
] ++ testDependencies;
|
||||
|
||||
passthru.testDependencies = testDependencies;
|
||||
passthru.testDependencies = dependencies ++ testDependencies;
|
||||
|
||||
makeWrapperArgs = [
|
||||
"--set CLAN_FLAKE ${self}"
|
||||
|
||||
Reference in New Issue
Block a user