]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - build.sh
no API request if no query set
[nominatim-ui.git] / build.sh
index e2b957407bad54125982f337d041c37403bc4192..a066b37a32abc9669bfbb1532ae6fa949fceb554 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -1,10 +1,14 @@
 #!/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/
+rsync --quiet --recursive src/partials dist/
 
 rsync --quiet src/*.js dist/