add piston nix pkg for coffeescript]

This commit is contained in:
Dan Vargas 2022-03-18 11:16:41 -06:00
parent 96ffdb63dd
commit 2490833ef1
7 changed files with 58 additions and 20 deletions

View file

@ -1,10 +0,0 @@
#!/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

View file

@ -1 +0,0 @@
export PATH=$PWD/bin:$PATH

View file

@ -1,5 +0,0 @@
{
"language": "coffeescript",
"version": "2.5.1",
"aliases": ["coffeescript", "coffee"]
}

View file

@ -1,3 +0,0 @@
#!/bin/bash
coffee "$@"

View file

@ -1 +0,0 @@
console.log "OK"