Cleanup gitignore and dockerignore files

This commit is contained in:
Felix 2020-03-12 20:25:14 +01:00
parent 463d917f16
commit 5c37591270
3 changed files with 16 additions and 10 deletions

12
.dockerignore vendored
View file

@ -1,9 +1,11 @@
# build folders and similar which are not needed for the docker build
ui/node_modules ui/node_modules
server/target/debug
!server/target/debug/lemmy_server
server/target/release
server/target/debug/incremental
ui/dist
server/target server/target
docker/dev/volumes docker/dev/volumes
docker/federation-test/volumes
.git .git
ansible
# exceptions, needed for federation-test build
!server/target/debug/lemmy_server

13
.gitignore vendored
View file

@ -1,10 +1,17 @@
# local ansible configuration
ansible/inventory ansible/inventory
ansible/inventory_dev ansible/inventory_dev
ansible/passwords/ ansible/passwords/
# docker build files
docker/lemmy_mine.hjson docker/lemmy_mine.hjson
docker/dev/env_deploy.sh docker/dev/env_deploy.sh
docker/federation-test/volumes docker/federation-test/volumes
build/
.idea/
ui/src/translations
docker/dev/volumes docker/dev/volumes
# local build files
build/
ui/src/translations
# ide config
.idea/

3
ui/.gitignore vendored
View file

@ -6,14 +6,11 @@ _site
.git .git
build build
.build .build
.git
.history
.idea .idea
.jshintrc .jshintrc
.nyc_output .nyc_output
.sass-cache .sass-cache
.vscode .vscode
build
coverage coverage
jsconfig.json jsconfig.json
Gemfile.lock Gemfile.lock