summaryrefslogtreecommitdiff
path: root/bin/build
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build')
-rwxr-xr-xbin/build6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/build b/bin/build
index dda55df..d4b3c2f 100755
--- a/bin/build
+++ b/bin/build
@@ -89,12 +89,8 @@ class Census
erb = ERB.new(IO.read("templates/city.md.erb"), trim_mode: "-")
IO.write("#{dir}/README.md", erb.result(binding))
-
each do |community|
- target_dir = "#{dir}/#{community[:sector].parameterize}"
- FileUtils.mkdir_p(target_dir, verbose: true)
- spawn "touch #{target_dir}/README.md"
- community.create_content_in(target_dir)
+ community.create_content_in(dir)
end
end
end