Files
athens/scripts/get_buffalo.sh
Aaron Schlesinger 91b4f9c876 WIP: always downloading a fixed buffalo CLI version (#230)
* always downloading a fixed buffalo CLI version

As of this writing, latest is v0.12.3

* moving the buffalo binary to a permitted place

also making the binary executable

* composing buffalo URL with tar_gz env var
2018-07-09 14:23:45 -07:00

11 lines
308 B
Bash
Executable File

#!/bin/bash
TAR_GZ="buffalo_0.12.3_linux_amd64.tar.gz"
BUFFALO_URL="https://github.com/gobuffalo/buffalo/releases/download/v0.12.3/${TAR_GZ}"
BUFFALO_TARGET_BIN="./bin/buffalo"
curl -L -o ${TAR_GZ} ${BUFFALO_URL}
tar -xvf ${TAR_GZ}
mv buffalo-no-sqlite ${BUFFALO_TARGET_BIN}
chmod +x ${BUFFALO_TARGET_BIN}