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 8d76830 commit ecf6865Copy full SHA for ecf6865
1 file changed
src/recipe/lang/Python/rawstr4c.md
@@ -45,13 +45,25 @@ grep -A 2 'index' @f@ | sed -n 's/^url = "\(.*\)"/\1/p'
45
@sed@ '/^\[\[index\]\]$/,/^default = true$/{s|^url = ".*"$|url = "@url@"|;}' @f@
46
```
47
48
+### Set uv config on Windows
49
+
50
+```powershell
51
+powershell -Command "$content = Get-Content '@f@'; $content = $content -replace '^url = \".*\"$', 'url = \"@url@\"'; $content | Set-Content '@f@'"
52
+```
53
54
55
### Test uv if set source
56
57
```sh
58
grep -q '^\[\[index]]$' @f@
59
60
61
+### Test uv if set source on Windows
62
63
64
+powershell -Command "if (Get-Content @f@ | Select-String '^\[\[index\]\]$') { exit 0 } else { exit 1 }"
65
66
67
<br>
68
69
@@ -64,4 +76,4 @@ grep -q '^\[\[index]]$' @f@
76
[[sources]]
77
name = "@1@"
78
url = "@2@"
-```
79
0 commit comments