update install-wizard and readme to show that shards is required (#166)

* update install-wizard and readme to show that shards is required

Signed-off-by: Matthew Wilson <54033231+wilson-matthew@users.noreply.github.com>

* updated CHANGELOG.md

---------

Signed-off-by: Matthew Wilson <54033231+wilson-matthew@users.noreply.github.com>
Co-authored-by: Jorge Morante <jorge@morante.eu>
This commit is contained in:
Matthew Wilson 2026-06-09 10:45:07 +01:00 committed by GitHub
parent 1bcbcaa2af
commit 7fd9896491
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,8 +31,8 @@ trap finish EXIT
function install_from_source() {
echo "Installing from source..."
# check if shards is installed
if ! command -v shards >/dev/null 2>&1; then
# check if crystal is installed
if ! command -v crystal >/dev/null 2>&1; then
echo "crystal is not installed. Please install it first."
echo ""
echo " https://crystal-lang.org/install/"
@ -40,6 +40,15 @@ function install_from_source() {
exit 1
fi
# check if shards is installed
if ! command -v shards >/dev/null 2>&1; then
echo "shards is not installed. Please install it first."
echo ""
echo " https://crystal-lang.org/reference/latest/man/shards/index.html"
echo ""
exit 1
fi
pushd $CURRENT_DIR > /dev/null
WIZARD_INSTALLATION_METHOD=build-from-source shards build --production
popd > /dev/null