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

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