lib/hyde/clicommand.rb in hydeweb-0.0.5 vs lib/hyde/clicommand.rb in hydeweb-0.0.7
- old
+ new
@@ -23,10 +23,11 @@
@@lib_path ||= File.expand_path(File.join(File.dirname(__FILE__), '..'))
end
def self.project
if $project.nil?
- log "Error: Hyde config file not found. (looking for: hyde.conf, _config.yml)"
+ files = Hyde::Project.config_filenames.join(", ")
+ log "Error: Hyde config file not found. (looking for: #{files})"
log "Run this command in a Hyde project directory.\nTo start a new Hyde project, type `hyde create <name>`"
exit
end
$project
end