lib/dev_flow/commands/gantt.rb in dev_flow-0.6.1 vs lib/dev_flow/commands/gantt.rb in dev_flow-0.6.2
- old
+ new
@@ -42,19 +42,19 @@
FileUtils.mkdir_p "#{docs}" unless File.directory? "#{docs}"
tpl_dir = File.expand_path(File.dirname(__FILE__) + "/../../../templates")
FileUtils.cp_r "#{tpl_dir}/css", docs
FileUtils.cp_r "#{tpl_dir}/js", docs
-
+
wfh = File.open(html_file, "w:utf-8")
wfh.puts Erubis::Eruby.new(File.read("#{tpl_dir}/jsgantt.html.erb")).result(:rm => @roadmap, :is_roadmap => true, :git_log => git_log, :resource => nil)
wfh.close
# update to server
if sync?
`git add .`
`git commit -am 'update Gantt chart'`
- `git push #{@config["git_remote"]} develop`
+ `git push #{@config["git_remote"]} develop`
end
end
end
end