Commit d8fd9f0

mo khan <mo@mokhan.ca>
2024-05-24 18:51:48
Add blank README for each sector
1 parent abd466b
Changed files (10)
bin/build
@@ -55,6 +55,7 @@ class Community
 
   def create_content_in(root_dir)
     target_dir = "#{root_dir}/#{self[:sector].parameterize}/#{name.parameterize}"
+    spawn "touch #{root_dir}/#{self[:sector].parameterize}/README.md"
     FileUtils.mkdir_p(target_dir, verbose: true)
     create_readme_in(target_dir)
   end
templates/sector.md.erb
@@ -0,0 +1,1 @@
+#
yyc/centre/README.md
yyc/east/README.md
yyc/north/README.md
yyc/northeast/README.md
yyc/northwest/README.md
yyc/south/README.md
yyc/southeast/README.md
yyc/west/README.md