repo: janusweb action: commit revision: path_from: revision_from: 52a5d8294839e7ac6048135cd883c917e37a6ada: path_to: revision_to:
commit 52a5d8294839e7ac6048135cd883c917e37a6ada Author: James BaicoianuDate: Fri Nov 5 16:50:04 2021 -0700 Added service worker to build script diff --git a/utils/build.sh b/utils/build.sh
--- a/utils/build.sh +++ b/utils/build.sh @@ -42,6 +42,9 @@ fi if [ ! -f "$BUILDDIR/manifest.json" ] || [ ! "$BUILDDIR/media/manifest.json" -ef "$BUILDDIR/manifest.json" ]; then mv "$BUILDDIR/media/manifest.json" "$BUILDDIR/" fi +if [ ! -f "$BUILDDIR/service-worker.js" ] || [ ! "$BUILDDIR/media/service-worker.js" -ef "$BUILDDIR/service-worker.js" ]; then + mv "$BUILDDIR/media/service-worker.js" "$BUILDDIR/" +fi if [ -e elation ] && [ -e elation/components/janusweb ]; then echo 'Building from project-local elation directory'
-----END OF PAGE-----