mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 02:06:08 +03:00
8 lines
193 B
Bash
8 lines
193 B
Bash
|
#!/usr/bin/env bash
|
||
|
set -eu
|
||
|
|
||
|
NODE_PLATFORM_NAME=$(node -e "console.log(require('os').platform())")
|
||
|
|
||
|
|
||
|
(cd scripts/npm/core-$NODE_PLATFORM_NAME && npm link)
|
||
|
npm link @swc/core-$NODE_PLATFORM_NAME
|