[tea.xyz] 0.8.9 will require --unstable for flock

This commit is contained in:
Max Howell 2022-10-21 10:28:28 -04:00
parent 889e8ef7b0
commit 370c0c7898

View file

@ -14,16 +14,18 @@ dependencies:
build: build:
script: | script: |
#FIXME: gotta be a better way
sed -i.bak "s/^const version = .*$/const version = \"{{ version }}\"/" src/app.ts sed -i.bak "s/^const version = .*$/const version = \"{{ version }}\"/" src/app.ts
rm src/app.ts.bak rm src/app.ts.bak
mkdir -p {{ prefix }}/bin mkdir -p {{ prefix }}/bin
deno compile \ deno compile \
--allow-read \ --allow-read \
--allow-write \ --allow-write \
--allow-net \ --allow-net \
--allow-run \ --allow-run \
--allow-env \ --allow-env \
--unstable \
--import-map=./import-map.json \ --import-map=./import-map.json \
--output {{ prefix }}/bin/tea \ --output {{ prefix }}/bin/tea \
./src/app.ts ./src/app.ts