feeds/update-feed: rename from feeds/update.py

This commit is contained in:
2025-04-28 01:30:51 +00:00
parent 8ae22c246e
commit 8e12201ecc
3 changed files with 2 additions and 4 deletions

View File

@@ -22,9 +22,8 @@ lib.recurseIntoAttrs (lib.makeScope newScope (self: with self; {
in lib.recurseIntoAttrs byName;
update-feed = static-nix-shell.mkPython3 {
pname = "update";
pname = "update-feed";
srcRoot = ./.;
pkgs = [ "feedsearch-crawler" ];
srcPath = "update.py";
};
}))

View File

@@ -32,6 +32,5 @@ json_path="$sources_dir/$name/default.json"
# but in a way where the least could go wrong.
pushd "$sources_dir"; mkdir -p "$name"; popd
# update.py: from `feeds.update-feed` (TODO: rename the binary!)
update.py "$name" "$json_path" "${passthruArgs[@]}"
update-feed "$name" "$json_path" "${passthruArgs[@]}"
cat "$json_path"