1 #!/usr/bin/bash 2 VER="${1:-main}" 3 TARGETDIR=${2:-$(realpath build/lust-$VER)} 4 hg clone https://vc.compiler.company/lust $TARGETDIR 5 pushd $TARGETDIR 6 make 7 sudo make install 8 popd