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