silly-queen-7197
03/12/2023, 4:42 AM./pants
. Ok, I'll run
curl --proto '=https' --tlsv1.2 -fsSL <https://static.pantsbuild.org/setup/get-pants.sh>
as suggested but this doesn't install anything in ~/bin
. All it seems to do is print a bunch of stuff out?
I'm running on Ubuntu. The output looks like
...
ARCH="$(calculate_arch)"
URL="<https://github.com/pantsbuild/scie-pants/releases/${version}/scie-pants-${OS}-${ARCH}>"
dest="${bin_dir}/${base_name}"
log "Downloading and installing the pants launcher ..."
install_from_url "${URL}" "${dest}"
green "Installed the pants launcher from ${URL} to ${dest}"
if ! command -v "${base_name}" > /dev/null; then
warn "${dest} is not on the PATH."
log "You'll either need to invoke ${dest} explicitly or else add ${bin_dir} to your shell's PATH."
fi
green "\nRunning \`pants\` in a Pants-enabled repo will use the version of Pants configured for that repo."
green "In a repo not yet Pants-enabled, it will prompt you to set up Pants for that repo."
enough-analyst-54434
03/12/2023, 4:45 AMsilly-queen-7197
03/12/2023, 4:56 AMRUN curl --location --show-error --silent --output get-poetry.py <https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py> \
&& echo '08336beb0091ab192adef2cedbaa3428dabfc8572e724d2aa7fc4a4922efb20a get-poetry.py' > get-poetry.py.sha256 \
&& sha256sum --check get-poetry.py.sha256 \
&& python3 get-poetry.py \
&& rm get-poetry.py get-poetry.py.sha256
be a more secure option? (e.g. checking an explicit checksum) Or does it not matter because its https and I trust *.pantsbuild.org?happy-kitchen-89482
03/12/2023, 5:45 AM