#!/bin/sh -x
rm -rf deno
git clone --depth 1 https://github.com/denoland/deno deno
( cd deno
  cargo fetch -v
)
tar cvf - --exclude .git deno | xz -9 >deno-`date '+%Y%m%d'`.tar.xz
rm -rf deno
