9b3ee477fa
* build: target_config_lib: introduce concat_list helper * build: rewrite features.sh in Lua The `features` file is converted to a Lua-based DSL. A helper function `_` is used in the DSL; this will return the original string for enabled features, and nil for disabled features. This allows to use boolean operations on features without making the code too verbose. Besides having more readable and robust code, this also fixes the bug that all files `packages/*/features` were evaluated instead of only using the feature definitions of currently active feeds. * build: add luacheck support for package/features |
||
---|---|---|
.. | ||
check_site.lua | ||
clean_output.lua | ||
copy_output.lua | ||
default_feeds.sh | ||
domain_aliases.lua | ||
feature_lib.lua | ||
feeds.sh | ||
filesize.sh | ||
generate_manifest.lua | ||
lint-lua.sh | ||
lint-sh.sh | ||
modules.sh | ||
patch.sh | ||
rfc3339date.lua | ||
sha256sum.sh | ||
site_config.lua | ||
target_config_check.lua | ||
target_config_lib.lua | ||
target_config.lua | ||
target_lib.lua | ||
update-patches.sh | ||
update.sh |