Merge pull request #3214 from alphagov/split-gitignore-and-cfignore

Split gitignore and cfignore
This commit is contained in:
Tom Byers
2019-12-02 17:24:37 +00:00
committed by GitHub
4 changed files with 85 additions and 4 deletions
-1
View File
@@ -1 +0,0 @@
.gitignore
+79
View File
@@ -0,0 +1,79 @@
# This file is a copy of .gitignore except for file/folders created by the build
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
# C extensions
*.so
# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
venv/
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
.pytest_cache
coverage.xml
test_results.xml
*,cover
# Translations
*.mo
*.pot
# Django stuff:
*.log
# Sphinx documentation
docs/_build/
# PyBuilder
target/
.idea/
.DS_Store
.vscode
# Frontend dependencies and compiled assets
app/assets/stylesheets/govuk_template/.sass-cache/
.sass-cache/
cache/
node_modules
bower_components
npm-debug.log
environment.sh
.envrc
# CloudFoundry
.cf
package-lock.json
+5 -1
View File
@@ -68,7 +68,6 @@ cache/
node_modules node_modules
bower_components bower_components
npm-debug.log npm-debug.log
app/templates/vendor
environment.sh environment.sh
.envrc .envrc
@@ -76,3 +75,8 @@ environment.sh
# CloudFoundry # CloudFoundry
.cf .cf
package-lock.json package-lock.json
# Files/folders created by build so not present in .cfignore
app/version.py
app/static
app/templates/vendor
-2
View File
@@ -1,2 +0,0 @@
/version.py
/static
+1
View File
@@ -9,3 +9,4 @@ target/*
venv/* venv/*
.envrc .envrc
.cf/* .cf/*
.pytest_cache/*