nuex / zodiac

A static website generator written in awk and sh.
MIT License
240 stars 22 forks source link

Added multicore processing and "only update changed files" feature #12

Open phikal opened 6 years ago

phikal commented 6 years ago

The title pretty much says it. I implemented these two features because the markdown client I'm using (pandoc) can be pretty slow from time to time, so I'd rather not that all every file is re-rendered all the time. Multiprocessing is practically a make -jN ripoff, but currently it just defaults to the number of cores, if nproc is found, otherwise it just runs everything sequentially.

If you have any problem with any of these changed, feel free to tell me, because to my knowledge, zodiac would be the only simple web-framework to support these features with the amount of flexibility offered, and I guess that others would also appropriate it.