mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
removed post build script
This commit is contained in:
@@ -26,8 +26,8 @@
|
||||
"scripts": {
|
||||
"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",
|
||||
"build": "tsc && bash -c './scripts/postBuild.sh'",
|
||||
"export": "tsc && bash -c './scripts/postBuild.sh'",
|
||||
"build": "tsc",
|
||||
"export": "tsc",
|
||||
"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"
|
||||
},
|
||||
|
@@ -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
|
Reference in New Issue
Block a user