Skip to content

Commit

Permalink
laminci
Browse files Browse the repository at this point in the history
Signed-off-by: zethson <[email protected]>
  • Loading branch information
Zethson committed May 1, 2024
1 parent fbf7166 commit 13795f3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ def lint(session: nox.Session) -> None:

@nox.session
def build(session: nox.Session):
session.run(*"cd ./lndocs && uv pip install --system -e .".split())
prefix = "." if Path("./lndocs").exists() else ".."
if nox.options.default_venv_backend == "none":
session.run(*f"uv pip install --system {prefix}/lndocs".split())
else:
session.install(f"{prefix}/lndocs")

session.run(*["lndocs", "--strict"])
move_built_docs_to_slash_project_slug()

0 comments on commit 13795f3

Please sign in to comment.