Skip to content

Commit a9a9054

Browse files
committed
refactor: Replace implementation with one from Basalt
1 parent 0f454bf commit a9a9054

22 files changed

+227
-845
lines changed

.editorconfig

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
root = true
2+
13
[*]
2-
indent_size = tab
3-
indent_size = 3
4+
indent_style = tab
5+
end_of_line = lf
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true

basalt.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ authors = ['Edwin Kofler" <edwin@kofler.dev>']
66
description = 'A kickass Toml parser written in pure Bash'
77

88
[run]
9-
dependencies = ['hyperupcall/bash-object@v0.6.3', 'https://github.com/hyperupcall/bats-common-utils.git@v3.0.0']
10-
sourceDirs = ['pkg/lib/commands', 'pkg/lib/public', 'pkg/lib/util']
9+
dependencies = ['hyperupcall/bash-object@v0.8.0', 'https://github.com/hyperupcall/bats-all@v4.3.0']
10+
sourceDirs = ['pkg/src/public', 'pkg/src/util']
1111
builtinDirs = []
1212
binDirs = []
1313
completionDirs = []
@@ -16,5 +16,11 @@ manDirs = []
1616
[run.shellEnvironment]
1717

1818
[run.setOptions]
19+
errexit = 'on'
20+
pipefail = 'on'
1921

2022
[run.shoptOptions]
23+
extglob = 'on'
24+
globasciiranges = 'on'
25+
nullglob = 'on'
26+
shift_verbose = 'on'

pkg/lib/commands/parse-new.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

pkg/lib/commands/parse.sh

Lines changed: 0 additions & 267 deletions
This file was deleted.

pkg/lib/public/bash-toml.sh

Lines changed: 0 additions & 49 deletions
This file was deleted.

pkg/lib/util/composable.sh

Whitespace-only changes.

0 commit comments

Comments
 (0)