Skip to content

Commit dc9c71c

Browse files
committed
docs: Add index page
1 parent bc22e20 commit dc9c71c

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

basalt.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ authors = ['Edwin Kofler <edwin@kofler.dev>']
77
description = 'System for choosing default applications, programs, and utilities'
88

99
[run]
10-
dependencies = ['https://github.com/hyperupcall/bash-args.git@v0.10.0']
10+
dependencies = ['https://github.com/hyperupcall/bash-args@v0.10.0', 'https://github.com/hyperupcall/bash-core.git@v0.6.0']
1111
sourceDirs = ['pkg/src']
1212
builtinDirs = []
1313
binDirs = ['pkg/bin']
@@ -17,5 +17,9 @@ manDirs = []
1717
[run.shellEnvironment]
1818

1919
[run.setOptions]
20+
errexit = 'on'
21+
errfail = 'on'
22+
pipefail = 'on'
2023

2124
[run.shoptOptions]
25+
shift_verbose = 'on'

docs/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# choose
2+
3+
For details, see [Details](./details.md)

pkg/bin/choose

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

3-
eval "$(basalt-package-init)"
4-
basalt.package-init
3+
eval "$(basalt-package-init)" || exit
4+
basalt.package-init || exit
55
basalt.package-load
66

77
source "$BASALT_PACKAGE_DIR/pkg/src/bin/choose.sh"

0 commit comments

Comments
 (0)