]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - build.sh
no API request if no query set
[nominatim-ui.git] / build.sh
index f8df67aa693b0fbfd1fa077e7e8c83dcd5710108..a066b37a32abc9669bfbb1532ae6fa949fceb554 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -1,8 +1,12 @@
 #!/bin/bash
 
-# mkdir dist/
+rsync --quiet --recursive src/assets/css dist/css/
+rsync --quiet --recursive src/assets/images/ dist/images/
+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/assets dist/
+rsync --quiet --recursive src/vendor/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/