pkg(deno): Added deno version 1.7.5

Closes issue #119
This commit is contained in:
Thomas Hobson 2021-02-28 01:42:23 +13:00
parent a27638b06b
commit e6a1fd06a9
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 22 additions and 0 deletions

22
packages/deno.mk Normal file
View File

@ -0,0 +1,22 @@
NAME=deno
AUTHOR=Thomas Hobson <thomas@hexf.me>
DEPENDENCIES=
COMPILED=false
VERSIONS=1.7.5
include common.mk
${RUN_FILE}:
echo 'deno run $$*' > $@
${ENV_FILE}:
echo 'export PATH=$$PWD:$$PATH' > $@
${BIN_DIR}: ${BUILD_DIR}deno-x86_64-unknown-linux-gnu/
mkdir -p $@
mv $</deno $@
chmod +x $@/deno
${BUILD_DIR}deno-x86_64-unknown-linux-gnu.zip:
curl -L "https://github.com/denoland/deno/releases/download/v${VERSION}/deno-x86_64-unknown-linux-gnu.zip" -o $@