From 01bc13d1158e20477e925302c4440584401d3983 Mon Sep 17 00:00:00 2001 From: Dan Vargas <10914883+dvargas46@users.noreply.github.com> Date: Wed, 24 Mar 2021 15:52:27 -0500 Subject: [PATCH] pkg(coffeescript-2.5.1): Add coffeescript 2.5.1 (#186) Co-authored-by: Vargas, Dan --- packages/coffeescript/2.5.1/build.sh | 10 ++++++++++ packages/coffeescript/2.5.1/environment | 1 + packages/coffeescript/2.5.1/metadata.json | 6 ++++++ packages/coffeescript/2.5.1/run | 3 +++ packages/coffeescript/2.5.1/test.coffee | 1 + 5 files changed, 21 insertions(+) create mode 100755 packages/coffeescript/2.5.1/build.sh create mode 100644 packages/coffeescript/2.5.1/environment create mode 100644 packages/coffeescript/2.5.1/metadata.json create mode 100644 packages/coffeescript/2.5.1/run create mode 100644 packages/coffeescript/2.5.1/test.coffee diff --git a/packages/coffeescript/2.5.1/build.sh b/packages/coffeescript/2.5.1/build.sh new file mode 100755 index 0000000..58d99b2 --- /dev/null +++ b/packages/coffeescript/2.5.1/build.sh @@ -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 diff --git a/packages/coffeescript/2.5.1/environment b/packages/coffeescript/2.5.1/environment new file mode 100644 index 0000000..bd0ff98 --- /dev/null +++ b/packages/coffeescript/2.5.1/environment @@ -0,0 +1 @@ +export PATH=$PWD/bin:$PATH \ No newline at end of file diff --git a/packages/coffeescript/2.5.1/metadata.json b/packages/coffeescript/2.5.1/metadata.json new file mode 100644 index 0000000..97437c4 --- /dev/null +++ b/packages/coffeescript/2.5.1/metadata.json @@ -0,0 +1,6 @@ +{ + "language": "coffeescript", + "version": "2.5.1", + "author": "Dan Vargas ", + "aliases": ["coffeescript", "coffee"] +} \ No newline at end of file diff --git a/packages/coffeescript/2.5.1/run b/packages/coffeescript/2.5.1/run new file mode 100644 index 0000000..5d8cc03 --- /dev/null +++ b/packages/coffeescript/2.5.1/run @@ -0,0 +1,3 @@ +#!/bin/bash + +coffee "$@" diff --git a/packages/coffeescript/2.5.1/test.coffee b/packages/coffeescript/2.5.1/test.coffee new file mode 100644 index 0000000..b3a8f72 --- /dev/null +++ b/packages/coffeescript/2.5.1/test.coffee @@ -0,0 +1 @@ +console.log "OK" \ No newline at end of file