feeds/update-feed: rename from feeds/update.py
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}))
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user