mirror of
https://github.com/openwrt/luci.git
synced 2026-02-04 12:06:01 +08:00
trunk: add gzip build target
This commit is contained in:
@@ -37,6 +37,9 @@ luastrip: luasource
|
||||
luacompile: luasource
|
||||
for i in $$(find dist -name *.lua -not -name debug.lua); do $(LUAC) $(LUAC_OPTIONS) -o $$i $$i; done
|
||||
|
||||
luagzip: luacompile
|
||||
for i in $$(find dist -name *.lua -not -name debug.lua); do gzip -9 $$i; done
|
||||
|
||||
luaclean:
|
||||
rm -rf dist
|
||||
|
||||
|
||||
Reference in New Issue
Block a user