mirror of
https://github.com/socketio/socket.io.git
synced 2026-01-09 15:08:12 -05:00
On macOS the script was interpreted as the value of the `-i` option. It will now use an empty extension for the `-i` option and the `-e` option to specify the script.
13 lines
342 B
Bash
Executable File
13 lines
342 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
cp ./support/package.cjs.json ./build/cjs/package.json
|
|
cp ./support/package.esm.json ./build/esm/package.json
|
|
|
|
cp -r ./build/esm/ ./build/esm-debug/
|
|
|
|
if [ "${OSTYPE:0:6}" = darwin ]; then
|
|
sed -i '' -e '/debug(/d' ./build/esm/*.js ./build/esm/**/*.js
|
|
else
|
|
sed -i -e '/debug(/d' ./build/esm/*.js ./build/esm/**/*.js
|
|
fi
|