Skip to content

Commit

Permalink
Merge pull request #39 from ash-shell/br.env
Browse files Browse the repository at this point in the history
Hook in env library to Ash core
  • Loading branch information
BrandonRomano authored Oct 21, 2016
2 parents 29dd315 + b12ae69 commit 24724c6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@
[submodule "core_modules/github.com/ash-shell/test"]
path = core_modules/github.com/ash-shell/test
url = https://github.com/ash-shell/test.git
[submodule "core_modules/github.com/ash-shell/env"]
path = core_modules/github.com/ash-shell/env
url = https://github.com/ash-shell/env.git
4 changes: 4 additions & 0 deletions ash
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ Ash_import_core() {
Ash__import "github.com/ash-shell/logger"
Ash__import "github.com/ash-shell/yaml-parse"
Ash__import "github.com/ash-shell/obj"
Ash__import "github.com/ash-shell/env"
}

#################################################
Expand All @@ -301,6 +302,9 @@ Ash_start() {
# Importing the core
Ash_import_core

# Load Env File
Env__load

# Updating Logger prefix
Logger__set_prefix "Ash"

Expand Down
1 change: 1 addition & 0 deletions core_modules/github.com/ash-shell/env
Submodule env added at d86468
1 change: 1 addition & 0 deletions core_modules/module_aliases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ logger: github.com/ash-shell/logger
obj: github.com/ash-shell/obj
yamlparse: github.com/ash-shell/yaml-parse
test: github.com/ash-shell/test
env: github.com/ash-shell/env

0 comments on commit 24724c6

Please sign in to comment.