Skip to content

Commit 24724c6

Browse files
Merge pull request #39 from ash-shell/br.env
Hook in env library to Ash core
2 parents 29dd315 + b12ae69 commit 24724c6

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@
1313
[submodule "core_modules/github.com/ash-shell/test"]
1414
path = core_modules/github.com/ash-shell/test
1515
url = https://github.com/ash-shell/test.git
16+
[submodule "core_modules/github.com/ash-shell/env"]
17+
path = core_modules/github.com/ash-shell/env
18+
url = https://github.com/ash-shell/env.git

ash

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ Ash_import_core() {
284284
Ash__import "github.com/ash-shell/logger"
285285
Ash__import "github.com/ash-shell/yaml-parse"
286286
Ash__import "github.com/ash-shell/obj"
287+
Ash__import "github.com/ash-shell/env"
287288
}
288289

289290
#################################################
@@ -301,6 +302,9 @@ Ash_start() {
301302
# Importing the core
302303
Ash_import_core
303304

305+
# Load Env File
306+
Env__load
307+
304308
# Updating Logger prefix
305309
Logger__set_prefix "Ash"
306310

Submodule env added at d86468b

core_modules/module_aliases.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ logger: github.com/ash-shell/logger
33
obj: github.com/ash-shell/obj
44
yamlparse: github.com/ash-shell/yaml-parse
55
test: github.com/ash-shell/test
6+
env: github.com/ash-shell/env

0 commit comments

Comments
 (0)