pkg(javascript-node): Added javascript-node 14.16.0 15.10.0

This commit is contained in:
ThreshMain 2021-02-28 05:29:18 +01:00
parent d7687096ff
commit b1e30ae1eb
No known key found for this signature in database
GPG key ID: 3EF8730B24BC7718
3 changed files with 25 additions and 2 deletions

View file

@ -204,7 +204,7 @@ Content-Type: application/json
# Supported Languages
`python`,
`python`,`node`
<br>
@ -235,4 +235,4 @@ various privilege escalation, denial-of-service, and resource saturation threats
<!-- Someone please do this -->
# License
Piston is licensed under the MIT license.
Piston is licensed under the MIT license.

View file

@ -0,0 +1,22 @@
NAME=javascript-node
AUTHOR=Martin Kos <martinkos007@gmail.com>
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 $<bin/node $@
chmod +x $@/node
${BUILD_DIR}node-${VERSION}-sources.tar.xz:
curl "https://nodejs.org/dist/v${VERSION}/node-v${VERSION}-linux-x64.tar.xz" -o $@

View file

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