]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - build.sh
Merge pull request #2 from mtmail/dependabot/npm_and_yarn/bootstrap-3.4.1
[nominatim-ui.git] / build.sh
index b2cd8f3ce0c341b4a2e82a42717e95adf90cfbbb..229bb6d262e0f98a6ba2dbf7fcdb328c5b1d0701 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -7,21 +7,23 @@ rsync --quiet --recursive src/assets/images/ dist/assets/images/
 mkdir -p dist/assets/js/
 cat src/assets/js/base.js src/assets/js/detailpage.js src/assets/js/searchpage.js > dist/assets/js/nominatim-ui.js
 
-rsync --quiet --recursive src/vendor/js/* dist/assets/js/
-rsync --quiet --recursive node_modules/jquery/dist/jquery.min.js dist/assets/js/
-rsync --quiet --recursive node_modules/leaflet/dist/leaflet.js dist/assets/js/
-rsync --quiet --recursive node_modules/leaflet/dist/leaflet.js.map dist/assets/js/
-rsync --quiet --recursive node_modules/leaflet/dist/leaflet.css dist/assets/css/
-rsync --quiet --recursive node_modules/leaflet/dist/images/ dist/assets/css/images/
-rsync --quiet --recursive node_modules/bootstrap/dist/js/bootstrap.min.js dist/assets/js/
-rsync --quiet --recursive node_modules/bootstrap/dist/css/bootstrap.min.css dist/assets/css/
-rsync --quiet --recursive node_modules/bootstrap/dist/css/bootstrap-theme.min.css dist/assets/css/
-
-rsync --quiet --recursive node_modules/handlebars/dist/handlebars.min.js dist/assets/js/
-rsync --quiet --recursive src/vendor/css/* dist/assets/css/
-# rsync --quiet --recursive src/vendor/images/* dist/assets/images/
-rsync --quiet --recursive src/templates dist/
-# rsync --quiet --recursive src/partials dist/
+rsync --quiet node_modules/jquery/dist/jquery.min.js dist/assets/js/
+rsync --quiet node_modules/leaflet/dist/leaflet.js dist/assets/js/
+rsync --quiet node_modules/leaflet/dist/leaflet.js.map dist/assets/js/
+rsync --quiet node_modules/leaflet/dist/leaflet.css dist/assets/css/
+rsync --quiet node_modules/leaflet/dist/images/* dist/assets/css/images/
+
+rsync --quiet node_modules/leaflet-minimap/dist/Control.MiniMap.min.js dist/assets/js/
+rsync --quiet node_modules/leaflet-minimap/dist/Control.MiniMap.min.css dist/assets/css/
+rsync --quiet node_modules/leaflet-minimap/dist/images/* dist/assets/css/images/
+
+rsync --quiet node_modules/bootstrap/dist/js/bootstrap.min.js dist/assets/js/
+rsync --quiet node_modules/bootstrap/dist/css/bootstrap.min.css dist/assets/css/
+rsync --quiet node_modules/bootstrap/dist/css/bootstrap-theme.min.css dist/assets/css/
+
+rsync --quiet node_modules/handlebars/dist/handlebars.min.js dist/assets/js/
+rsync --quiet node_modules/@ungap/url-search-params/min.js dist/assets/js/url-search-params.js
+rsync --quiet src/templates/*.hbs dist/
 
 rsync --quiet src/*.js dist/