main #1
1 changed files with 1 additions and 2 deletions
3
Makefile
3
Makefile
|
@ -10,8 +10,7 @@ fetch: subscriptions.curl
|
|||
curl --location --output-dir html --create-dirs --rate 1/s --config subscriptions.curl
|
||||
|
||||
channel-json: subscriptions.txt
|
||||
# nproc is not portable :-/
|
||||
xargs -n1 --max-procs=$$(nproc) --arg-file subscriptions.txt --verbose ./generate-json-opml
|
||||
cat subscriptions.txt | xargs -n1 --verbose ./generate-json-opml
|
||||
|
||||
|
||||
# turn all the channel json files into an OPML file
|
||||
subscriptions.opml:
|
||||
|
|
Loading…
Reference in a new issue
The parallelism was important to me as I had hundreds of subscriptions to process and a 16c/32t CPU to keep busy so I'd like to keep it.
--max-procs
can be replaced with-P
which is supported by the BSD xargs used on macOS as well as GNU.That seems mostly fine. Suggest changing it to use
uname -s
though.