Build workspace agent, capability graph, and versioned cutovers
This commit is contained in:
@@ -611,6 +611,15 @@ EOF
|
|||||||
else ''
|
else ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
install -Dm755 ${lib.escapeShellArg serverFile} "$out/libexec/${serverLibexecName}/${serverFile}"
|
install -Dm755 ${lib.escapeShellArg serverFile} "$out/libexec/${serverLibexecName}/${serverFile}"
|
||||||
|
# Browser entrypoints are runtime artifacts too. Package build scripts
|
||||||
|
# conventionally emit them as top-level .mjs files in dist/. Install
|
||||||
|
# the complete set so adding an entrypoint cannot produce a descriptor
|
||||||
|
# that resolves successfully but fails when Web Studio opens the file.
|
||||||
|
for browserModule in dist/*.mjs; do
|
||||||
|
if [ -f "$browserModule" ]; then
|
||||||
|
install -Dm644 "$browserModule" "$out/libexec/${serverLibexecName}/$(basename "$browserModule")"
|
||||||
|
fi
|
||||||
|
done
|
||||||
${lib.concatMapStringsSep "\n" installExtraFile extraFiles}
|
${lib.concatMapStringsSep "\n" installExtraFile extraFiles}
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
cat > "$out/bin/${serverBin}" <<EOF
|
cat > "$out/bin/${serverBin}" <<EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user