mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 03:01:48 +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
|