luci/build/mkbasepot.sh
Jo-Philipp Wich 673f38246a treewide: separate Lua runtime resources
Move classes required for Lua runtime support into a new `luci-lua-runtime`
package. Also replace the `luci.http` and `luci.util` classes in
`luci-lib-base` with stubbed versions interacting with the ucode based
runtime environment.

Finally merge `luci-base-ucode` into the remainders of `luci-base`.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00

16 lines
404 B
Bash
Executable file

#!/bin/sh
[ -d ./build ] || {
echo "Please execute as ./build/mkbasepot.sh" >&2
exit 1
}
echo -n "Updating modules/luci-base/po/templates/base.pot ... "
./build/i18n-scan.pl \
modules/luci-base/ modules/luci-compat/ modules/luci-lua-runtime/ \
modules/luci-mod-network modules/luci-mod-status modules/luci-mod-system/ \
protocols/ themes/ \
> modules/luci-base/po/templates/base.pot
echo "done"