Skip to content

Commit a471a56

Browse files
committed
Fix bashmatic naming changes
1 parent 5855581 commit a471a56

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

bin/deps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ deps.start-clock() {
5353
deps.print-duration() {
5454
local finish=$(millis)
5555
local duration=$(( finish - __start ))
56-
info "Total running time for was ${bldylw}$(lib.time.duration.millis-to-secs ${duration}) seconds.\n\n"
56+
info "Total running time for was ${bldylw}$(time.duration.millis-to-secs ${duration}) seconds.\n\n"
5757
}
5858

5959

bin/linter

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ run.set-all abort-on-error
2828

2929
__lint.actions() {
3030
local sep="${1:-', '}"
31-
printf "${bldylw}$(lib.array.join "${sep}" $(lib.util.functions-matching "lint." | sed 's/ main//g'))${clr}"
31+
printf "${bldylw}$(array.join "${sep}" $(util.functions-matching "lint." | sed 's/ main//g'))${clr}"
3232
}
3333

3434
lint.help() {
@@ -119,7 +119,7 @@ lint.main() {
119119
local func="lint.${action}"
120120

121121
if [[ -n ${action} ]]; then
122-
if lib.util.is-a-function "${func}"; then
122+
if util.is-a-function "${func}"; then
123123
[[ ${action} != "help" ]] && h2 "Executing partial linting for ${bldylw}${action}"
124124
shift
125125
${func} "$@"

bin/setup

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ source "bin/deps"
1313

1414
__setup.actions() {
1515
local sep="${1}"
16-
printf "${bldylw}$(lib.array.join "${sep}" $(lib.util.functions-matching "setup." | sed 's/ main//g'))${clr}"
16+
printf "${bldylw}$(array.join "${sep}" $(util.functions-matching "setup." | sed 's/ main//g'))${clr}"
1717
}
1818

1919
#—————————————————————————————————————————————————————————————————————————————————————————————————————————————
@@ -51,7 +51,7 @@ etc.
5151

5252
setup.gems() {
5353
for gem in rubocop relaxed-rubocop rubocop-performance; do
54-
lib.gem.install ${gem}
54+
gem.install ${gem}
5555
done
5656
}
5757

@@ -106,7 +106,7 @@ setup.main() {
106106
local func="setup.${action}"
107107

108108
if [[ -n ${action} ]]; then
109-
if lib.util.is-a-function "${func}"; then
109+
if util.is-a-function "${func}"; then
110110
[[ ${action} != "help" ]] && h2 "Executing partial setup for action ${bldylw}${action}"
111111
shift
112112
${func} "$@"

bin/setup-darwin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ __setup.brew-install-jdk() {
2525
}
2626

2727
__setup.brew-deps() {
28-
lib.brew.install.packages 'xz' 'ydiff'
28+
brew.install.packages 'xz' 'ydiff'
2929
}
3030

3131
__setup.is-bazelisk-installed() {

bin/test-suite

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ __test-suite.setup.rbenv-ruby() {
8181

8282
__test.actions() {
8383
local sep=', '
84-
printf "${bldylw}$(lib.array.join "${sep}" $(lib.util.functions-matching "test."))"
84+
printf "${bldylw}$(array.join "${sep}" $(util.functions-matching "test."))"
8585
}
8686

8787
__test.exec() {
@@ -220,7 +220,7 @@ test-suite.main() {
220220

221221
if [[ -n ${action} && ${action} != "all" ]]; then
222222
shift
223-
if lib.util.is-a-function "${func}"; then
223+
if util.is-a-function "${func}"; then
224224
[[ "${action}" != "help" ]] && {
225225
box.green-in-cyan "RulesRuby Test Suite Runner" "RubyRules Version $(cat .rules_version)"
226226
test-suite.setup

0 commit comments

Comments
 (0)