diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-01-25 19:35:02 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-01-27 15:24:02 +0100 |
commit | 4d9f922c8396bada73fb0b1e318c8b947f0f606b (patch) | |
tree | 2a607d68bfde072dbe3ca910a14677d61308fe0c /LICENSE | |
parent | ddda48dac8e373f9bc0884ffeb84605925d988e5 (diff) |
sfeed_update: allow to reuse the code more easily as an included script
This adds a main() function. When the environment variable
$SFEED_UPDATE_INCLUDE is set then it will not execute the main handler. The
other functions are included and can be reused. This is also useful for
unit-testing.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions