lambdaisland / gaiwan_co

Website for Gaiwan GmbH
https://gaiwan.co
8 stars 3 forks source link

Follow Gaiwan naming conventions #26

Closed plexus closed 2 years ago

plexus commented 2 years ago

Move the code to src/co/gaiwan/site from src/gaiwan. This also makes it possible to have the top level file be co/gaiwan/site.clj, rather than core.

plexus commented 2 years ago

In this case I did

mkdir co/gaiwan -p
mv gaiwan co/gaiwan/site            
mv co/gaiwan/site/core.clj co/gaiwan/site.clj
sed 's/gaiwan\.core/co.gaiwan.site/g' -i **/*.clj
sed 's/gaiwan\.about/co.gaiwan.site.about/g' -i **/*.clj
for x in data db home http layout open-graph routes utils work ; do sed "s/gaiwan\.${x}/co.gaiwan.site.${x}/g" -i **/*.clj{,c} ; done
for x in blog-list clients cta faq features-home features-world footer header hero-home logo projects team ; do sed "s/gaiwan\.components\.${x}/co.gaiwan.site.components.${x}/g" -i **/*