pkg(deno-1.7.5): Migrate to new version
This commit is contained in:
parent
49c761311b
commit
21af84aaab
|
@ -0,0 +1,11 @@
|
|||
mkdir -p output build
|
||||
|
||||
cd build
|
||||
curl -L https://github.com/denoland/deno/releases/download/v1.7.5/deno-x86_64-unknown-linux-gnu.zip --output deno.zip
|
||||
unzip deno.zip
|
||||
|
||||
cd ..
|
||||
|
||||
mv build/deno output
|
||||
|
||||
chmod +x output/deno
|
|
@ -0,0 +1 @@
|
|||
export PATH=$PWD:$PATH
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"language": "deno",
|
||||
"version": "1.7.5",
|
||||
"author": "Thomas Hobson <thomas@hexf.me>",
|
||||
"dependencies": {},
|
||||
"aliases": ["deno-ts", "deno-js"]
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
DENO_DIR=$PWD deno run $*
|
|
@ -1,22 +0,0 @@
|
|||
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 $@
|
Loading…
Reference in New Issue