Yet another typescript fixes

This commit is contained in:
mrfry 2020-11-24 11:11:06 +01:00
parent b927988017
commit d9b424cbd1
3 changed files with 30 additions and 3 deletions

27
scripts/postBuild.sh Executable file
View file

@ -0,0 +1,27 @@
#!/bin/bash
exit 0
echo "linking stuff to dist/"
SRC='./src'
DEST='./dist'
cd ${SRC}
for i in $(find); do
~/.bin/hr.sh
echo $i
if [ ! -d "$i" ]; then
fname=$(basename "${SRC}/${i}")
dirname=$(dirname "${SRC}/${i}")
withoutExt=$(echo "${fname}" | rev | cut -d'.' -f2- | rev)
checkFile=$(echo "${DEST}/${i}")
echo $fname
echo $dirname
echo $withoutExt
echo $checkFile
else
echo "DIR $i"
fi
done