lib/codebuild/core.rb in codebuild-0.5.0 vs lib/codebuild/core.rb in codebuild-0.6.0
- old
+ new
@@ -43,12 +43,12 @@
Setting.new.data
end
memoize :settings
def check_codebuild_project!
- check_path = "#{Codebuild.root}/.codebuild/settings.yml"
+ check_path = "#{Codebuild.root}/.codebuild"
unless File.exist?(check_path)
- puts "ERROR: No settings file at #{check_path}. Are you sure you are in a project with codebuild setup?".color(:red)
+ puts "ERROR: No .codebuild folder found. Are you sure you are in a project with codebuild setup?".color(:red)
puts "Current directory: #{Dir.pwd}"
puts "If you want to set up codebuild for this prjoect, please create a settings file via: codebuild init"
exit 1 unless ENV['TEST']
end
end