magrathealabs/mecha

View on GitHub
lib/mecha/generators/app/templates/gitignore.erb

Summary

Maintainability
Test Coverage
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
#   git config --global core.excludesfile '~/.gitignore_global'

# Ignore bundler config.
/.bundle

<% if sqlite3? -%>
# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal

<% end -%>
# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
<% if keeps? -%>
!/log/.keep
!/tmp/.keep
<% end -%>

/node_modules
/yarn-error.log

# Ignore Byebug command history file.
.byebug_history

.DS_Store
/.env
/config/database.yml
/coverage