#!/bin/bash printf "Building lucy...\n" go mod download || exit 1 go build -ldflags "-w -s" -o lucy ./cmd/lucy || exit 1 printf "Removing old lucy...\n" sudo rm /usr/local/bin/lucy > /dev/null 2&>1 printf "Installing...\n" sudo mv ./lucy /usr/local/bin/lucy