Skip to content

Commit 6956af5

Browse files
committed
Version other JavaScript files
1 parent 0b22db0 commit 6956af5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

deps/rabbitmq_management/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,12 @@ prepare-dist::
4949
mv $(EZ_DIR)/priv/www/css/main.css $(EZ_DIR)/priv/www/css/main-$(PROJECT_VERSION).css
5050
mkdir $(EZ_DIR)/priv/www/js/$(PROJECT_VERSION)
5151
mv $(EZ_DIR)/priv/www/js/tmpl/ $(EZ_DIR)/priv/www/js/$(PROJECT_VERSION)/
52-
mv $(EZ_DIR)/priv/www/js/main.js $(EZ_DIR)/priv/www/js/$(PROJECT_VERSION)/main.js
52+
mv $(EZ_DIR)/priv/www/js/{main,global,dispatcher,formatters,prefs}.js \
53+
$(EZ_DIR)/priv/www/js/$(PROJECT_VERSION)/
5354
$(verbose) sed -e "s#css/main.css#css/main-$(PROJECT_VERSION).css#" \
5455
-e "s#js/main.js#js/$(PROJECT_VERSION)/main.js#" \
56+
-e "s#js/global.js#js/$(PROJECT_VERSION)/global.js#" \
57+
-e "s#js/dispatcher.js#js/$(PROJECT_VERSION)/dispatcher.js#" \
58+
-e "s#js/formatters.js#js/$(PROJECT_VERSION)/formatters.js#" \
59+
-e "s#js/prefs.js#js/$(PROJECT_VERSION)/prefs.js#" \
5560
priv/www/index.html > $(EZ_DIR)/priv/www/index.html

0 commit comments

Comments
 (0)