list-all 377 字节
Newer Older
A
Akash Manohar 已提交
1
#!/usr/bin/env bash
2

P
Patrick Oscity 已提交
3
set -euo pipefail
4

P
Patrick Oscity 已提交
5
# shellcheck source=../lib/utils.sh
6
source "$(dirname $0)/../lib/utils.sh"
7

P
Patrick Oscity 已提交
8
list_versions() {
9 10
  ensure_ruby_build_setup

11 12
  # This sed command was a quick and dirty solution to remove topaz-dev from
  # the version list, since it doesn't exist
K
Kassio Borges 已提交
13
  "$(ruby_build_path)" --definitions | grep -v "topaz-dev" | paste -sd " " -
P
Patrick Oscity 已提交
14
}
15

16
list_versions