@calltelemetry/fmix 2.7.10 → 2.7.11
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/bin/fmix +13 -3
- package/package.json +3 -3
package/bin/fmix
CHANGED
|
@@ -24,7 +24,7 @@ set -uo pipefail
|
|
|
24
24
|
# ---------------------------------------------------------------------------
|
|
25
25
|
# Constants & config
|
|
26
26
|
# ---------------------------------------------------------------------------
|
|
27
|
-
FMIX_VERSION="2.7.
|
|
27
|
+
FMIX_VERSION="2.7.11"
|
|
28
28
|
FMIX_HOME="${FMIX_HOME:-${HOME}/.ct-fmix}"
|
|
29
29
|
FMIX_OS="$(uname -s)"
|
|
30
30
|
FMIX_ARCH="$(uname -m)"
|
|
@@ -6840,8 +6840,18 @@ fmix_session_has_app_manifest() {
|
|
|
6840
6840
|
found_app="$(grep -o 'app:[[:space:]]*:[a-zA-Z0-9_]*' "$worktree/mix.exs" 2>/dev/null | head -1 | sed 's/.*:\([a-zA-Z0-9_]*\)/\1/')"
|
|
6841
6841
|
[[ -n "$found_app" ]] && app_name="$found_app"
|
|
6842
6842
|
fi
|
|
6843
|
-
|
|
6844
|
-
|
|
6843
|
+
# fmix_compile_build_root returns the session's _build directory, while Mix
|
|
6844
|
+
# writes the app manifest under its MIX_ENV subdirectory (_build/test/lib).
|
|
6845
|
+
# Looking only at "$build_root/lib" never found it in a real session, so every
|
|
6846
|
+
# same-key session read as an interrupted overlay and was "repaired" from a
|
|
6847
|
+
# template that may not exist (API-3576: after the template key started to
|
|
6848
|
+
# include migrations that is the common case). Accept either layout.
|
|
6849
|
+
local layout
|
|
6850
|
+
for layout in "$build_root/lib" "$build_root/test/lib"; do
|
|
6851
|
+
[[ -f "$layout/$app_name/.mix/compile.elixir" ]] && return 0
|
|
6852
|
+
[[ -f "$layout/$app_name/.mix/compile.elixir_scm" ]] && return 0
|
|
6853
|
+
done
|
|
6854
|
+
return 1
|
|
6845
6855
|
}
|
|
6846
6856
|
|
|
6847
6857
|
fmix_ensure_artifacts() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@calltelemetry/fmix",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.11",
|
|
4
4
|
"description": "Verified native FMix runner for CallTelemetry workspaces",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"directory": "packages/npm"
|
|
27
27
|
},
|
|
28
28
|
"fmix": {
|
|
29
|
-
"runnerSha256": "
|
|
30
|
-
"sourceTag": "fmix-v2.7.
|
|
29
|
+
"runnerSha256": "429e12afb8fed3cbfcea3f0e042a1c0ad53dd7554146e03f99677cf3958592c0",
|
|
30
|
+
"sourceTag": "fmix-v2.7.11"
|
|
31
31
|
}
|
|
32
32
|
}
|