From 886f6387b7029d60cc03045e1d6a343ab03153c1 Mon Sep 17 00:00:00 2001 From: Jan-Niklas Burfeind Date: Sun, 18 Dec 2022 18:30:25 +0100 Subject: [PATCH] gluon-web-osm: mark minified js as such changes ln from third to first form (see man ln) --- package/gluon-config-mode-geo-location-osm/Makefile | 2 +- .../web/www/static/{gluon-web-osm.js => gluon-web-osm.min.js} | 0 package/gluon-web-osm/javascript/gluon-web-osm.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename package/gluon-web-osm/files/lib/gluon/web/www/static/{gluon-web-osm.js => gluon-web-osm.min.js} (100%) diff --git a/package/gluon-config-mode-geo-location-osm/Makefile b/package/gluon-config-mode-geo-location-osm/Makefile index 2e101223..a0710e66 100644 --- a/package/gluon-config-mode-geo-location-osm/Makefile +++ b/package/gluon-config-mode-geo-location-osm/Makefile @@ -13,7 +13,7 @@ define Package/gluon-config-mode-geo-location-osm/install $(Gluon/Build/Install) $(INSTALL_DIR) $(1)/lib/gluon/config-mode/www/static/ - $(LN) /lib/gluon/web/www/static/gluon-web-osm.js $(1)/lib/gluon/config-mode/www/static/ + $(LN) /lib/gluon/web/www/static/gluon-web-osm.min.js $(1)/lib/gluon/config-mode/www/static/gluon-web-osm.js endef $(eval $(call BuildPackageGluon,gluon-config-mode-geo-location-osm)) diff --git a/package/gluon-web-osm/files/lib/gluon/web/www/static/gluon-web-osm.js b/package/gluon-web-osm/files/lib/gluon/web/www/static/gluon-web-osm.min.js similarity index 100% rename from package/gluon-web-osm/files/lib/gluon/web/www/static/gluon-web-osm.js rename to package/gluon-web-osm/files/lib/gluon/web/www/static/gluon-web-osm.min.js diff --git a/package/gluon-web-osm/javascript/gluon-web-osm.js b/package/gluon-web-osm/javascript/gluon-web-osm.js index b4acbf8b..10bba2a8 100644 --- a/package/gluon-web-osm/javascript/gluon-web-osm.js +++ b/package/gluon-web-osm/javascript/gluon-web-osm.js @@ -1,7 +1,7 @@ /* Build using: - uglifyjs javascript/gluon-web-osm.js -o files/lib/gluon/web/www/static/gluon-web-osm.js -c -m + uglifyjs javascript/gluon-web-osm.js -o files/lib/gluon/web/www/static/gluon-web-osm.min.js -c -m */ 'use strict';