mirror of
https://github.com/imjasonh/terraform-playground
synced 2026-07-22 16:11:22 +00:00
lock: evaluate PEP 508 markers and support --extra/--package in uv.lock closure
Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
This commit is contained in:
parent
b484b02113
commit
7e8e2261a7
8 changed files with 692 additions and 38 deletions
|
|
@ -69,6 +69,12 @@ func applyDefaults(cmd *cobra.Command, f *buildFlags) error {
|
|||
if !changed("no-cache") && cfg.NoCache {
|
||||
f.noCache = true
|
||||
}
|
||||
if !changed("extra") && len(cfg.Extras) > 0 {
|
||||
f.extras = cfg.Extras
|
||||
}
|
||||
if !changed("package") && cfg.Package != "" {
|
||||
f.pkg = cfg.Package
|
||||
}
|
||||
if !changed("python") && cfg.Python != "" {
|
||||
f.pythonTag = cfg.Python
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue