We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 924a40c commit 53ea75bCopy full SHA for 53ea75b
devenv/sync.py
@@ -1,5 +1,6 @@
1
from devenv import constants
2
from devenv.lib import config, proc, uv
3
+import os
4
5
def main(context: dict[str, str]) -> int:
6
reporoot = context["reporoot"]
@@ -14,6 +15,8 @@ def main(context: dict[str, str]) -> int:
14
15
16
# reporoot/.venv is the default venv location
17
print(f"syncing .venv ...")
18
+ if not os.path.exists(".venv"):
19
+ proc.run(("uv", "venv", "--seed"))
20
proc.run(("uv", "sync", "--frozen", "--quiet"))
21
22
return 0
0 commit comments