From b1e30ae1eb83e662b46a788c4c1b8395b5298251 Mon Sep 17 00:00:00 2001 From: ThreshMain Date: Sun, 28 Feb 2021 05:29:18 +0100 Subject: [PATCH] pkg(javascript-node): Added javascript-node 14.16.0 15.10.0 --- README.MD | 4 ++-- packages/javascript-node.mk | 22 ++++++++++++++++++++++ packages/javascript-node.test | 1 + 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 packages/javascript-node.mk create mode 100644 packages/javascript-node.test diff --git a/README.MD b/README.MD index 44f9298..aaec498 100644 --- a/README.MD +++ b/README.MD @@ -204,7 +204,7 @@ Content-Type: application/json # Supported Languages -`python`, +`python`,`node`
@@ -235,4 +235,4 @@ various privilege escalation, denial-of-service, and resource saturation threats # License -Piston is licensed under the MIT license. \ No newline at end of file +Piston is licensed under the MIT license. 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 $