-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitattributes
More file actions
39 lines (38 loc) · 1.33 KB
/
.gitattributes
File metadata and controls
39 lines (38 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# SPDX-FileCopyrightText: Copyright (C) 2021 Opal Health Informatics Group at the Research Institute of the McGill University Health Centre <john.kildea@mcgill.ca>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
* text=auto
# project-specific settings
#
# Shell scripts require LF
*.sh text eol=lf
# Batch scripts require CRLF
*.bat text eol=crlf
# crontab requires LF
crontab text eol=lf
# Git LFS settings
#
# inspired by: https://gist.github.com/rynkowsg/f02f06fa0efee10c4de2c126f0d207a1
# documents
*.pdf filter=lfs diff=lfs merge=lfs -text
# images
*.jpg filter=lfs diff=lfs merge=lfs -text
*.jpeg filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.svg filter=lfs diff=lfs merge=lfs -text
# fonts
*.bmf filter=lfs diff=lfs merge=lfs -text
*.eot filter=lfs diff=lfs merge=lfs -text
*.otf filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.woff filter=lfs diff=lfs merge=lfs -text
*.woff2 filter=lfs diff=lfs merge=lfs -text
# minimized JS & CSS
*.min.js filter=lfs diff=lfs merge=lfs -text
*.min.css filter=lfs diff=lfs merge=lfs -text
# JS & CSS source maps
# https://css-tricks.com/should-i-use-source-maps-in-production/
*.css.map filter=lfs diff=lfs merge=lfs -text
*.js.map filter=lfs diff=lfs merge=lfs -text
# large SQL files for tests
opal/tests/**/*.sql filter=lfs diff=lfs merge=lfs -text