mirror of
https://github.com/swc-project/swc.git
synced 2024-12-11 07:35:15 +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 |