tasks/project.rake in glyph-0.2.0 vs tasks/project.rake in glyph-0.3.0
- old
+ new
@@ -16,10 +16,10 @@
file_copy Glyph::HOME/'document.glyph', Glyph::PROJECT/'document.glyph'
config = yaml_load Glyph::HOME/'config.yml'
config[:document][:filename] = dir.basename.to_s
config[:document][:title] = dir.basename.to_s
config[:document][:author] = ENV['USER'] || ENV['USERNAME']
- config.delete(:structure)
+ config.delete(:system)
yaml_dump Glyph::PROJECT/'config.yml', config
Glyph.info "Project '#{dir.basename}' created successfully."
end
desc "Add a new text file to the project"