From a0e7d1b736a4e918c9c4f7f547dde54e3ffe642d Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Sat, 6 Mar 2021 01:23:51 +1300 Subject: [PATCH] pkg(node-15.10.0): switch to new build system --- packages/javascript-node.mk | 22 ---------------------- packages/javascript-node.test | 1 - packages/node-15.10.0/build.sh | 11 +++++++++++ packages/node-15.10.0/environment | 1 + packages/node-15.10.0/metadata.json | 7 +++++++ packages/node-15.10.0/run | 3 +++ packages/node-15.10.0/test.js | 1 + 7 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 packages/javascript-node.mk delete mode 100644 packages/javascript-node.test create mode 100755 packages/node-15.10.0/build.sh create mode 100644 packages/node-15.10.0/environment create mode 100644 packages/node-15.10.0/metadata.json create mode 100644 packages/node-15.10.0/run create mode 100644 packages/node-15.10.0/test.js diff --git a/packages/javascript-node.mk b/packages/javascript-node.mk deleted file mode 100644 index ff15d9c..0000000 --- a/packages/javascript-node.mk +++ /dev/null @@ -1,22 +0,0 @@ -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 $", + "dependencies": {}, + "aliases": ["node-javascript", "node-js", "javascript", "js"] +} \ No newline at end of file diff --git a/packages/node-15.10.0/run b/packages/node-15.10.0/run new file mode 100644 index 0000000..004ca32 --- /dev/null +++ b/packages/node-15.10.0/run @@ -0,0 +1,3 @@ +#!/bin/bash + +node $* \ No newline at end of file diff --git a/packages/node-15.10.0/test.js b/packages/node-15.10.0/test.js new file mode 100644 index 0000000..56ed4a0 --- /dev/null +++ b/packages/node-15.10.0/test.js @@ -0,0 +1 @@ +console.log("OK") \ No newline at end of file