fix no dependencies
This commit is contained in:
parent
aabfed3613
commit
f3c2b3ae53
7
dist/bes-build
vendored
7
dist/bes-build
vendored
|
@ -29,8 +29,11 @@ bes.build(){
|
|||
for entry in "$project/src"/*.sh; do
|
||||
local vendorName="$(basename $vendor)"
|
||||
local project="$(basename $(dirname $(dirname $entry)))"
|
||||
local entrypath="$APP_DIR/vendor/$vendorName/$project/src/$(basename $entry)"
|
||||
if [ -f "$entrypath" ]; then
|
||||
tail -n +2 "$entrypath" >> "$APP_BIN"
|
||||
bes.echo " ${Cspe}- ${Cok}appending ${Cusa}$vendorName/$project/${Coff}src/$(basename $entry)"
|
||||
tail -n +2 "$APP_DIR/vendor/$vendorName/$project/src/$(basename $entry)" >> "$APP_BIN"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
@ -617,7 +620,7 @@ bes.usage(){
|
|||
}
|
||||
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
BES_BUILD_VERSION=0.5
|
||||
BES_BUILD_VERSION=0.6
|
||||
APP_DIR=$(pwd)
|
||||
APP_NAME=$(basename $(pwd))
|
||||
APP_BIN=$APP_DIR/dist/$APP_NAME
|
||||
|
|
|
@ -29,8 +29,11 @@ bes.build(){
|
|||
for entry in "$project/src"/*.sh; do
|
||||
local vendorName="$(basename $vendor)"
|
||||
local project="$(basename $(dirname $(dirname $entry)))"
|
||||
local entrypath="$APP_DIR/vendor/$vendorName/$project/src/$(basename $entry)"
|
||||
if [ -f "$entrypath" ]; then
|
||||
tail -n +2 "$entrypath" >> "$APP_BIN"
|
||||
bes.echo " ${Cspe}- ${Cok}appending ${Cusa}$vendorName/$project/${Coff}src/$(basename $entry)"
|
||||
tail -n +2 "$APP_DIR/vendor/$vendorName/$project/src/$(basename $entry)" >> "$APP_BIN"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
BES_BUILD_VERSION=0.5
|
||||
BES_BUILD_VERSION=0.6
|
||||
APP_DIR=$(pwd)
|
||||
APP_NAME=$(basename $(pwd))
|
||||
APP_BIN=$APP_DIR/dist/$APP_NAME
|
||||
|
|
Loading…
Reference in New Issue
Block a user