mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 18:28:13 +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
|