#!/usr/bin/env sh set -o nounset ## set -u : exit the script if you try to use an uninitialised variable set -o errexit ## set -e : exit the script if any statement returns a non-true return value set -o xtrace ## set -x : Print command traces before executing command # prepare python dependencies pipenv install >/dev/null # build HTML file pipenv run ./build.py items.yml # push into archive tar czf "$ARCHIVE/portal.tar.gz" -C dist .