You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
261 B
11 lines
261 B
#!/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
|