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