Contravariance / website

https://contravariance.rocks/
MIT License
4 stars 0 forks source link

[Feature/swift automation] So I wrote a pure Swift static site generator without any dependencies. #3

Closed terhechte closed 6 years ago

terhechte commented 6 years ago

I had a bit of free time as I had to endure two ~5hour train rides. So I wrote a pure Swift static site generator without any dependencies.

This automates most of the creation of the site.

New show notes entries can now be created in the entries/ folder (see existing sample for episode 1 for the syntax) as a .bacf format (benedikt’s awful configuration format). Afterwards, running

masse ./config.bacf

Will generate the website. Note that mass is a single-file pure swift static site generator without any external dependencies except for Foundation and Swift 4.2.

Caveats

BasThomas commented 6 years ago

benedikt’s awful configuration format

😂

I will probably move masse in its own repository at some point in order to allow for continuous improval without touching the contra variance site.

Sounds good!