diff --git a/bes.ini b/bes.ini index 73eb60b..a2f33cf 100644 --- a/bes.ini +++ b/bes.ini @@ -1,7 +1,7 @@ [project] vendor = bes name = build -version = 0.10 +version = 0.11 license = "GNU GPL v3" author = a-Sansara type = application @@ -10,4 +10,4 @@ description = "bash bes build application for bash programs" keywords = "bash, bes, build" [require] -bes.install = 1.3 +bes.install = 1.4 diff --git a/dist/bes-build b/dist/bes-build index eb2e4f8..5935261 100755 --- a/dist/bes-build +++ b/dist/bes-build @@ -245,7 +245,7 @@ function echo.app () local msg=${1:-''} local version=${2:-''} local author=${3:-'a-Sansara'} - local license=${3:-'GNU GPL v3'} + local license=${4:-'GNU GPL v3'} if [ ! -z "$2" ]; then msg="$msg ${Cval}v$version" fi @@ -604,7 +604,7 @@ function bes.build () if [ ! -d "$APP_DIR/dist" ]; then echo.action "creating dist directory" mkdir $APP_DIR/dist - cho.state $? + echo.state $? fi if [ -f "$APP_BIN" ]; then if [ "$1" = "backup" ] || [ "$1" = "-b" ]; then @@ -738,12 +738,12 @@ meta = 39 100 170" > "$tmp" echo.state $? else echo.action "Installing default colors file" "$Cspe$path$Cofff" - echo.error "file already exists. do not rewrite" + echo.error "file already exists, do not rewrite." echo.state 1 fi } -BES_LIB="color echo install ini dep1 dep2" +BES_LIB="color echo install ini service dep1 dep2" BES_LOADED_LIB= # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ function bes.inlist () @@ -941,7 +941,7 @@ bes.boot # @date 2017-06-16 04:38:52 CET # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - BES_VERSION=0.10 + BES_VERSION=0.11 BES_NAME="bes-build" BES_URL="https://git.pluie.org/meta-tech/$BES_NAME/raw/latest/dist/$BES_NAME" APP_DIR=$(pwd) diff --git a/src/build.sh b/src/build.sh index 0b2b1f9..8c4a491 100644 --- a/src/build.sh +++ b/src/build.sh @@ -8,7 +8,7 @@ function bes.build () if [ ! -d "$APP_DIR/dist" ]; then echo.action "creating dist directory" mkdir $APP_DIR/dist - cho.state $? + echo.state $? fi if [ -f "$APP_BIN" ]; then if [ "$1" = "backup" ] || [ "$1" = "-b" ]; then diff --git a/src/main.sh b/src/main.sh index b095281..ee5a3e6 100755 --- a/src/main.sh +++ b/src/main.sh @@ -7,7 +7,7 @@ # @date 2017-06-16 04:38:52 CET # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - BES_VERSION=0.10 + BES_VERSION=0.11 BES_NAME="bes-build" BES_URL="https://git.pluie.org/meta-tech/$BES_NAME/raw/latest/dist/$BES_NAME" APP_DIR=$(pwd) diff --git a/src/update.sh b/src/update.sh index 93aa17d..a70e0ab 100644 --- a/src/update.sh +++ b/src/update.sh @@ -1,6 +1,6 @@ #!/bin/bash -BES_LIB="color echo install ini dep1 dep2" +BES_LIB="color echo install ini service dep1 dep2" BES_LOADED_LIB= # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ function bes.inlist ()