mirror of
https://github.com/swc-project/swc.git
synced 2024-11-26 09:54:22 +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 |