jsonpath/nodejs/build.sh

10 lines
285 B
Bash
Raw Normal View History

#!/bin/bash
if ! [ -x "$(command -v rustc)" ]; then
echo "install rust"
curl https://sh.rustup.rs -sSf > /tmp/rustup.sh
sh /tmp/rustup.sh -y
export PATH="$HOME/.cargo/bin:$PATH"
source "$HOME/.cargo/env"
fi
2019-05-14 23:29:55 +09:00
check-node-version --node '<12.0' && neon build --release