ThomasTJdev / nim_websitecreator

Nim fullstack website framework - deploy a website within minutes
https://nimwc.org
MIT License
176 stars 7 forks source link

Save humans.txt when using gitupdate #116

Closed ThomasTJdev closed 5 years ago

ThomasTJdev commented 5 years ago

humans.txt needs to saved to avoid overwriting during git force update from NimWC.

humans = readFile"public/humans.txt" 
#
writeFile("public/humans.txt", humans) 

https://github.com/ThomasTJdev/nim_websitecreator/blob/1f104756d5893c07fc921e65297027544a4021e8/nimwc.nim#L171-L188