@leverege/build-tools 2.52.0-pedro.4 → 2.52.0-pedro.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/refresh-py-idx-sa.sh
CHANGED
|
@@ -88,8 +88,7 @@ echo "Updated $HOME/.pypirc"
|
|
|
88
88
|
UV_EXTRA_INDEX_URL="https://_json_key_base64:$ENCODED_KEY@us-python.pkg.dev/leverege-registry/leverege-python-packages/simple"
|
|
89
89
|
UV_EXTRA_INDEX_URL_E=$(escape_for_sed "$UV_EXTRA_INDEX_URL")
|
|
90
90
|
|
|
91
|
-
|
|
92
|
-
SHELLS=("bash" "zsh" "fish")
|
|
91
|
+
SHELLS=("bash" "dash" "zsh" "fish")
|
|
93
92
|
|
|
94
93
|
for SHELL in "${SHELLS[@]}"; do
|
|
95
94
|
if command -v "$SHELL" >/dev/null 2>&1; then
|
|
@@ -97,6 +96,9 @@ for SHELL in "${SHELLS[@]}"; do
|
|
|
97
96
|
bash)
|
|
98
97
|
config_file="${HOME}/.bashrc"
|
|
99
98
|
;;
|
|
99
|
+
dash)
|
|
100
|
+
config_file="${HOME}/.profile"
|
|
101
|
+
;;
|
|
100
102
|
zsh)
|
|
101
103
|
config_file="${HOME}/.zshrc"
|
|
102
104
|
;;
|
|
@@ -129,7 +131,8 @@ done
|
|
|
129
131
|
|
|
130
132
|
echo ""
|
|
131
133
|
echo "Please source your shell configuration to apply the changes."
|
|
132
|
-
echo "Example: source ~/.bashrc"
|
|
133
|
-
echo "Example: source ~/.
|
|
134
|
-
echo "Example: source ~/.
|
|
134
|
+
echo "Example (bash): source ~/.bashrc"
|
|
135
|
+
echo "Example (dash): source ~/.profile"
|
|
136
|
+
echo "Example (zsh): source ~/.zshrc"
|
|
137
|
+
echo "Example (fish): source ~/.config/fish/config.fish"
|
|
135
138
|
echo ""
|
package/src/refresh-py-idx.sh
CHANGED
|
@@ -34,8 +34,7 @@ escape_for_sed() {
|
|
|
34
34
|
UV_EXTRA_INDEX_URL="https://oauth2accesstoken:$TOKEN@us-python.pkg.dev/leverege-registry/leverege-python-packages/simple"
|
|
35
35
|
UV_EXTRA_INDEX_URL_E=$(escape_for_sed "$UV_EXTRA_INDEX_URL")
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
SHELLS=("bash" "zsh" "fish")
|
|
37
|
+
SHELLS=("bash" "dash" "zsh" "fish")
|
|
39
38
|
|
|
40
39
|
for SHELL in "${SHELLS[@]}"; do
|
|
41
40
|
if command -v "$SHELL" >/dev/null 2>&1; then
|
|
@@ -43,6 +42,9 @@ for SHELL in "${SHELLS[@]}"; do
|
|
|
43
42
|
bash)
|
|
44
43
|
config_file="${HOME}/.bashrc"
|
|
45
44
|
;;
|
|
45
|
+
dash)
|
|
46
|
+
config_file="${HOME}/.profile"
|
|
47
|
+
;;
|
|
46
48
|
zsh)
|
|
47
49
|
config_file="${HOME}/.zshrc"
|
|
48
50
|
;;
|
|
@@ -75,7 +77,8 @@ done
|
|
|
75
77
|
|
|
76
78
|
echo ""
|
|
77
79
|
echo "Please source your shell configuration to apply the changes."
|
|
78
|
-
echo "Example: source ~/.bashrc"
|
|
79
|
-
echo "Example: source ~/.
|
|
80
|
-
echo "Example: source ~/.
|
|
80
|
+
echo "Example (bash): source ~/.bashrc"
|
|
81
|
+
echo "Example (dash): source ~/.profile"
|
|
82
|
+
echo "Example (zsh): source ~/.zshrc"
|
|
83
|
+
echo "Example (fish): source ~/.config/fish/config.fish"
|
|
81
84
|
echo ""
|