chore: remove now unnecessary manual copying of share.js

this is now correctly handled by the webpack build
This commit is contained in:
Panagiotis Papadopoulos 2025-01-26 21:39:34 +01:00
parent 74f6ad46ae
commit ad02b86719
3 changed files with 0 additions and 3 deletions

View File

@ -28,7 +28,6 @@ RUN cp -R build/src/* src/. && \
npm run webpack && \ npm run webpack && \
npm prune --omit=dev && \ npm prune --omit=dev && \
npm cache clean --force && \ npm cache clean --force && \
cp src/public/app/share.js src/public/app-dist/. && \
cp -r src/public/app/doc_notes src/public/app-dist/. && \ cp -r src/public/app/doc_notes src/public/app-dist/. && \
rm -rf src/public/app/* && \ rm -rf src/public/app/* && \
mkdir -p src/public/app/services && \ mkdir -p src/public/app/services && \

View File

@ -27,7 +27,6 @@ RUN cp -R build/src/* src/. && \
npm run webpack && \ npm run webpack && \
npm prune --omit=dev && \ npm prune --omit=dev && \
npm cache clean --force && \ npm cache clean --force && \
cp src/public/app/share.js src/public/app-dist/. && \
cp -r src/public/app/doc_notes src/public/app-dist/. && \ cp -r src/public/app/doc_notes src/public/app-dist/. && \
rm -rf src/public/app && \ rm -rf src/public/app && \
mkdir -p src/public/app/services && \ mkdir -p src/public/app/services && \

View File

@ -68,7 +68,6 @@ find $DIR -name "*.ts" -type f -delete
d="$DIR"/src/public d="$DIR"/src/public
[[ -d "$d"/app-dist ]] || mkdir -pv "$d"/app-dist [[ -d "$d"/app-dist ]] || mkdir -pv "$d"/app-dist
cp "$d"/app/share.js "$d"/app-dist/
cp -r "$d"/app/doc_notes "$d"/app-dist/ cp -r "$d"/app/doc_notes "$d"/app-dist/
rm -rf "$d"/app rm -rf "$d"/app