mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
pkg(coffeescript-2.5.1): Add coffeescript 2.5.1 (#186)
Co-authored-by: Vargas, Dan <dan.vargas@frostbank.com>
This commit is contained in:
parent
3ad4375a68
commit
01bc13d115
5 changed files with 21 additions and 0 deletions
10
packages/coffeescript/2.5.1/build.sh
vendored
Executable file
10
packages/coffeescript/2.5.1/build.sh
vendored
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/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
|
1
packages/coffeescript/2.5.1/environment
vendored
Normal file
1
packages/coffeescript/2.5.1/environment
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export PATH=$PWD/bin:$PATH
|
6
packages/coffeescript/2.5.1/metadata.json
vendored
Normal file
6
packages/coffeescript/2.5.1/metadata.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "coffeescript",
|
||||
"version": "2.5.1",
|
||||
"author": "Dan Vargas <danvargas46@gmail.com>",
|
||||
"aliases": ["coffeescript", "coffee"]
|
||||
}
|
3
packages/coffeescript/2.5.1/run
vendored
Normal file
3
packages/coffeescript/2.5.1/run
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
coffee "$@"
|
1
packages/coffeescript/2.5.1/test.coffee
vendored
Normal file
1
packages/coffeescript/2.5.1/test.coffee
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
console.log "OK"
|
Loading…
Add table
Add a link
Reference in a new issue