piston/packages/coffeescript/2.5.1/build.sh
Dan Vargas 01bc13d115
pkg(coffeescript-2.5.1): Add coffeescript 2.5.1 (#186)
Co-authored-by: Vargas, Dan <dan.vargas@frostbank.com>
2021-03-25 09:52:27 +13:00

10 lines
292 B
Bash
Executable file

#!/bin/bash
# Download and install NodeJS
curl "https://nodejs.org/dist/v15.10.0/node-v15.10.0-linux-x64.tar.xz" -o node.tar.xz
tar xf node.tar.xz --strip-components=1
rm node.tar.xz
export PATH=$PWD/bin:$PATH
# Install CoffeeScript via npm and done
npm install --global coffeescript@2.5.1