File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1010# —————————————————————————————————————————————————————————————————————————————————————
1111
1212
13+ export BASHMATIC_OS=" $( uname -s | tr ' [:upper:]' ' [:lower:]' ) "
1314[[ -z ${BASHMATIC_HOME} ]] && export BASHMATIC_HOME=" ${HOME} /.bashmatic"
14- [[ -d ${BASHMATIC_HOME} ]] || bash -c " $( curl -fsSL https://bashmatic.re1.re) ; bashmatic-install -q "
15+ [[ -d ${BASHMATIC_HOME} ]] || bash -c " $( curl -fsSL https://bashmatic.re1.re) ; bashmatic-install -v -f -b v2.7.2 "
1516
1617# shellcheck disable=SC1090
1718source " ${BASHMATIC_HOME} /init.sh" 1> /dev/null 2>&1
Original file line number Diff line number Diff line change @@ -155,13 +155,15 @@ test.buildifier() {
155155
156156# Builds and runs workspace inside examples/simple_script
157157test.simple-script () {
158+ # This workspace requires a version specification
159+ local RUBY_VERSION=" --@rules_ruby//ruby/runtime:version=ruby-3.0 "
158160 __test.exec simple-script "
159161 cd examples/simple_script
160162 bazel ${BAZEL_OPTS} info; echo; echo
161- bazel ${BAZEL_OPTS} build ${BAZEL_BASE_BUILD_OPTS} -- //... ; echo; echo
162- bazel ${BAZEL_OPTS} test ${BAZEL_BASE_BUILD_OPTS} ${BAZEL_TEST_OPTS} -- //... ; echo; echo
163- echo run :bin; bazel ${BAZEL_OPTS} run ${BAZEL_BASE_BUILD_OPTS} :bin
164- echo run :rubocop; bazel ${BAZEL_OPTS} run ${BAZEL_BASE_BUILD_OPTS} :rubocop
163+ bazel ${BAZEL_OPTS} build ${BAZEL_BASE_BUILD_OPTS} ${RUBY_VERSION} -- //... ; echo; echo
164+ bazel ${BAZEL_OPTS} test ${BAZEL_BASE_BUILD_OPTS} ${BAZEL_TEST_OPTS} ${RUBY_VERSION} -- //... ; echo; echo
165+ echo run :bin; bazel ${BAZEL_OPTS} run ${BAZEL_BASE_BUILD_OPTS} ${RUBY_VERSION} :bin
166+ echo run :rubocop; bazel ${BAZEL_OPTS} run ${BAZEL_BASE_BUILD_OPTS} ${RUBY_VERSION} :rubocop
165167 "
166168}
167169
Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ selects.config_setting_group(
7676 selects .config_setting_group (
7777 name = "config_" + get_supported_version (version ),
7878 match_any = [
79- ":config_auto" ,
8079 ":internal_config_" + get_supported_version (version ),
8180 ],
8281 )
You can’t perform that action at this time.
0 commit comments