Closed plexus closed 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 **/*
Move the code to
src/co/gaiwan/site
fromsrc/gaiwan
. This also makes it possible to have the top level file beco/gaiwan/site.clj
, rather thancore
.