#!/bin/sh -x
rm -rf lucet
git clone --depth 1 https://github.com/bytecodealliance/lucet/
( cd lucet
  git submodule update --init
)
tar cvf - --exclude .git lucet | xz -9 >lucet-`date '+%Y%m%d'`.tar.xz
rm -rf lucet
