removed post build script

This commit is contained in:
mrfry 2023-04-11 10:34:50 +02:00
parent d310895fcb
commit f66f83edc4
2 changed files with 2 additions and 29 deletions

View file

@ -26,8 +26,8 @@
"scripts": { "scripts": {
"start": "node ./dist/server.js", "start": "node ./dist/server.js",
"dev": "npm run build && NS_NO_HTTPS_FORCE=1 NS_THREAD_COUNT=2 NS_NOUSER=1 node --inspect ./dist/server.js", "dev": "npm run build && NS_NO_HTTPS_FORCE=1 NS_THREAD_COUNT=2 NS_NOUSER=1 node --inspect ./dist/server.js",
"build": "tsc && bash -c './scripts/postBuild.sh'", "build": "tsc",
"export": "tsc && bash -c './scripts/postBuild.sh'", "export": "tsc",
"test": "NS_NOLOG=1 NS_THREAD_COUNT=1 jest", "test": "NS_NOLOG=1 NS_THREAD_COUNT=1 jest",
"test-debug": "NS_NOLOG=1 NS_THREAD_COUNT=1 node --inspect node_modules/.bin/jest --watch --runInBand src/tests/*.test.ts" "test-debug": "NS_NOLOG=1 NS_THREAD_COUNT=1 node --inspect node_modules/.bin/jest --watch --runInBand src/tests/*.test.ts"
}, },

View file

@ -1,27 +0,0 @@
#!/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