mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Yet another typescript fixes
This commit is contained in:
parent
b927988017
commit
d9b424cbd1
3 changed files with 30 additions and 3 deletions
27
scripts/postBuild.sh
Executable file
27
scripts/postBuild.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue