From 8047c8e986e4d457f5b2c7da21a9f8edd71e337d Mon Sep 17 00:00:00 2001 From: ThreshMain <50732964+ThreshMain@users.noreply.github.com> Date: Fri, 5 Mar 2021 03:38:22 +0100 Subject: [PATCH] pkg(javascript-node): Added javascript-node 14.16.0 15.10.0 (#130) --- README.MD | 2 +- packages/javascript-node.mk | 22 ++++++++++++++++++++++ packages/javascript-node.test | 1 + 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 packages/javascript-node.mk create mode 100644 packages/javascript-node.test diff --git a/README.MD b/README.MD index db0b24e..bc40f1c 100644 --- a/README.MD +++ b/README.MD @@ -204,7 +204,7 @@ Content-Type: application/json # Supported Languages -`python`,`php` +`python`,`php`,`node`
diff --git a/packages/javascript-node.mk b/packages/javascript-node.mk new file mode 100644 index 0000000..ff15d9c --- /dev/null +++ b/packages/javascript-node.mk @@ -0,0 +1,22 @@ +NAME=javascript-node +AUTHOR=Martin Kos +DEPENDENCIES= +COMPILED=false +VERSIONS=14.16.0 15.10.0 + +include common.mk + + +${RUN_FILE}: + echo 'node $$*' > $@ + +${ENV_FILE}: + echo 'export PATH=$$PWD/bin:$$PATH' > $@ + +${BIN_DIR}: ${BUILD_DIR}node-${VERSION}-sources/ + mkdir -p $@ + mv $