project mainenance:

ignoring .vs folder
added shell script to convert dos2unix line endings
This commit is contained in:
Dobromir Popov ONE
2023-05-14 21:38:14 +03:00
parent 588a22807b
commit 145e202d24
2 changed files with 8 additions and 0 deletions

2
.gitignore vendored
View File

@@ -2,3 +2,5 @@
/.vscode /.vscode
access.log access.log
db/documents.db db/documents.db
vendor
/.vs

6
tools/convertLE.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
#> cd /D/DEV/Web/TEMP/iotSync/iot.d-popov.com-LFfixed/tools
#> bash convertLE.sh
parent_folder=".."
find "$parent_folder" -type f ! -path "*/.git/*" ! -path "*/.vs/*" ! -path "*/.ionide/*" ! -path "*/.vscode/*" ! -path "*/.devcontainer/*" ! -path "*/node_modules/*" -exec dos2unix {} \; -exec unix2dos {} \;