File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,17 @@ echo "const _just_buildManifest = [];" > deploy/_just/static/$BUILD_ID/buildMani
3030
3131echo " Build Map:"
3232FILE_ID=1
33+ TOTAL_FILES=$( find deploy -mindepth 1 -print | wc -l)
3334find deploy -mindepth 1 -print | while read -r path; do
3435 relative_path=${path# deploy/ }
35- echo " ├ $relative_path "
36+
37+ if [ " $FILE_ID " -eq 1 ]; then
38+ echo " ┌ $relative_path "
39+ elif [ " $FILE_ID " -eq " $TOTAL_FILES " ]; then
40+ echo " └ $relative_path "
41+ else
42+ echo " ├ $relative_path "
43+ fi
3644
3745 if [ -f " $path " ]; then
3846 case " ${path##* .} " in
@@ -47,4 +55,6 @@ find deploy -mindepth 1 -print | while read -r path; do
4755 esac
4856 echo " _just_buildManifest.push({\" type\" : \" $type \" , \" path\" : \" $relative_path \" });" >> deploy/_just/static/$BUILD_ID /buildManifest.js
4957 fi
58+
59+ FILE_ID=$(( FILE_ID + 1 ))
5060done
You can’t perform that action at this time.
0 commit comments