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