jsonpath/nodejs/build.sh
2019-03-28 18:39:59 +09:00

11 lines
249 B
Bash
Executable File

#!/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
neon build --release