Skip to content

Commit e8c8009

Browse files
committed
fix: Final fix for Basalt
1 parent ceea480 commit e8c8009

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

load.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# shellcheck shell=bash
22

3-
basalt.load() {
3+
basalt_load() {
44
for f in "$BASALT_PACKAGE_PATH"/pkg/lib/{,source/,util/}?*.sh; do
55
source "$f"
66
done

tests/util/init.sh

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
# shellcheck shell=bash
2+
set -o pipefail
23

3-
# TODO: test for -u and -o pipefail
4-
set -e
4+
eval "$(basalt-package-init)"; basalt.package-init
5+
basalt.package-load
56

6-
basalt-package-init
7-
eval "$(basalt-package-init)"; basalt-package.init
8-
# basalt-package.load_dependencies
9-
10-
load '../load.bash'
117
load './util/test_util.sh'
128

139
setup() {

0 commit comments

Comments
 (0)