Browse Source

Implement loadConfiguration() and loadLibraries()

master
belliash 10 years ago
parent
commit
fad485743a
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      libraries/common

+ 17
- 0
libraries/common View File

@ -43,6 +43,23 @@ function isSet() {
return 1
}
#-------------------------------------------------------------------------------
# Loads EzBuild configuration
#-------------------------------------------------------------------------------
function loadConfiguration() {
source ${EZROOT}/config/${EZNAME}.conf
source ${EZROOT}/config/layout.conf
source /etc/ezbuild/${EZNAME}.conf
source /etc/ezbuild/layout.conf
}
#-------------------------------------------------------------------------------
# Loads all EzBuild Libraries
#-------------------------------------------------------------------------------
function loadLibraries() {
source ${EZROOT}/libraries/colors
}
#-------------------------------------------------------------------------------
# Returns a UNIX timestamp
#-------------------------------------------------------------------------------


Loading…
Cancel
Save