Browse Source

Add Windows command support

Michael Ekstrand 8 months ago
parent
commit
0ffc7b5cc2
3 changed files with 10 additions and 0 deletions
  1. 7
    0
      .editorconfig
  2. 2
    0
      .gitattributes
  3. 1
    0
      dvc.cmd

+ 7
- 0
.editorconfig

@@ -14,3 +14,10 @@ indent_size = 2
 
 [*.{rs,json}]
 indent_size = 2
+
+[*.sh]
+indent_size = 4
+end_of_line = lf
+
+[*.cmd]
+end_of_line = crlf

+ 2
- 0
.gitattributes

@@ -1,3 +1,5 @@
 *.ipynb	diff=jupyternotebook
 *.ipynb	merge=jupyternotebook
 *.ipynb filter=nbstripout
+*.cmd text eol=crlf
+*.sh text eol=lf

+ 1
- 0
dvc.cmd

@@ -0,0 +1 @@
+python -m scripts.dvcw %*