File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,16 +138,17 @@ jobs:
138138 --mode static \
139139 -o "${TARBALL_NAME}"
140140
141- # Inject xlings: extract → add bin/xlings to the wrapper dir →
142- # re-tar preserving the wrapper. The wrapper dir name matches
143- # the tarball stem (mcpp pack ties the two together ).
141+ # Inject xlings: extract → add registry/ bin/xlings to the wrapper
142+ # dir → re-tar preserving the wrapper. Since 0.0.4 the bundled
143+ # xlings lives at <ROOT>/registry/bin/xlings (= <XLINGS_HOME>/bin/xlings ).
144144 TARBALL="target/dist/${TARBALL_NAME}"
145145 WRAPPER="${TARBALL_NAME%.tar.gz}"
146146 test -f "$TARBALL"
147147 INJECT=$(mktemp -d)
148148 tar -xzf "$TARBALL" -C "$INJECT"
149- cp "$XLINGS_BIN" "$INJECT/$WRAPPER/bin/xlings"
150- chmod +x "$INJECT/$WRAPPER/bin/xlings"
149+ mkdir -p "$INJECT/$WRAPPER/registry/bin"
150+ cp "$XLINGS_BIN" "$INJECT/$WRAPPER/registry/bin/xlings"
151+ chmod +x "$INJECT/$WRAPPER/registry/bin/xlings"
151152 (cd "$INJECT" && tar -czf "$GITHUB_WORKSPACE/${TARBALL}" "$WRAPPER")
152153 rm -rf "$INJECT"
153154
@@ -181,7 +182,7 @@ jobs:
181182 tar -xzf "dist/${TARBALL_NAME}" -C "$SMOKE"
182183 ROOT="$SMOKE/$WRAPPER"
183184 test -x "$ROOT/bin/mcpp"
184- test -x "$ROOT/bin/xlings"
185+ test -x "$ROOT/registry/ bin/xlings"
185186 test -x "$ROOT/mcpp"
186187 file "$ROOT/bin/mcpp" | grep -q 'statically linked'
187188 env -u MCPP_HOME "$ROOT/bin/mcpp" --version
You can’t perform that action at this time.
0 commit comments