From 1aec7f8081baceb58c711b419635f8cd0776efed Mon Sep 17 00:00:00 2001 From: Pax1601 Date: Wed, 20 Dec 2023 17:39:25 +0100 Subject: [PATCH] Updated copy step during compilation --- build.bat | 1 + client/copy.bat | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/build.bat b/build.bat index 6100e201..e3611c6a 100644 --- a/build.bat +++ b/build.bat @@ -8,6 +8,7 @@ cd client rmdir /s /q "hgt" call npm install call npm run emit-declarations +call npm run copy call npm run build-release cd "plugins\controltips" diff --git a/client/copy.bat b/client/copy.bat index 967d62b1..4a58ce35 100644 --- a/client/copy.bat +++ b/client/copy.bat @@ -1,4 +1,4 @@ -xcopy /S /Q /Y /F .\\node_modules\\leaflet\\dist\\leaflet.css .\\public\\stylesheets\\leaflet\\leaflet.css -xcopy /S /Q /Y /F .\\node_modules\\leaflet-gesture-handling\\dist\\leaflet-gesture-handling.css .\\public\\stylesheets\\leaflet\\leaflet-gesture-handling.css -xcopy /S /Q /Y /F .\\node_modules\\leaflet.nauticscale\\dist\\leaflet.nauticscale.js .\\public\\javascripts\\leaflet.nauticscale.js -xcopy /S /Q /Y /F .\\node_modules\\leaflet-path-drag\\dist\\L.Path.Drag.js .\\public\\javascripts\\L.Path.Drag.js +echo F|xcopy /S /Q /Y /F .\\node_modules\\leaflet\\dist\\leaflet.css .\\public\\stylesheets\\leaflet\\leaflet.css +echo F|xcopy /S /Q /Y /F .\\node_modules\\leaflet-gesture-handling\\dist\\leaflet-gesture-handling.css .\\public\\stylesheets\\leaflet\\leaflet-gesture-handling.css +echo F|xcopy /S /Q /Y /F .\\node_modules\\leaflet.nauticscale\\dist\\leaflet.nauticscale.js .\\public\\javascripts\\leaflet.nauticscale.js +echo F|xcopy /S /Q /Y /F .\\node_modules\\leaflet-path-drag\\dist\\L.Path.Drag.js .\\public\\javascripts\\L.Path.Drag.js