Skip to content

Commit 03e250a

Browse files
authored
Commit bat fileas with CRLF line ending. (project-chip#40812)
In git these are currently containing LF and we rely on .gitattributes to auto-convert, however this makes tools such as jj (https://jj-vcs.github.io/jj/latest/) assume they are modified due to jj-vcs/jj#53 not being fixed (and unlikely to get fixed as it is several years old)
1 parent f3fbd60 commit 03e250a

8 files changed

Lines changed: 562 additions & 562 deletions

File tree

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
src/controller/python/matter/clusters/CHIPClusters.py linguist-generated
77
src/controller/python/matter/clusters/Objects.py linguist-generated
88
# Let bat file use CRLF linebreak
9-
**/*.bat eol=crlf
9+
**/*.bat eol=input
1010
# Mark Matter operational certificate/key files as binary
1111
**/*.chip binary

docs/make.bat

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
1-
@ECHO OFF
2-
3-
pushd %~dp0
4-
5-
REM Command file for Sphinx documentation
6-
7-
if "%SPHINXBUILD%" == "" (
8-
set SPHINXBUILD=sphinx-build
9-
)
10-
set SPHINXOPTS=-W -c . -d _build\doctrees
11-
set SOURCEDIR=_build\src
12-
set BUILDDIR=_build
13-
14-
if "%1" == "" goto help
15-
16-
%SPHINXBUILD% >NUL 2>NUL
17-
if errorlevel 9009 (
18-
echo.
19-
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
20-
echo.installed, then set the SPHINXBUILD environment variable to point
21-
echo.to the full path of the 'sphinx-build' executable. Alternatively you
22-
echo.may add the Sphinx directory to PATH.
23-
echo.
24-
echo.If you don't have Sphinx installed, grab it from
25-
echo.http://sphinx-doc.org/
26-
exit /b 1
27-
)
28-
29-
mkdir %SOURCEDIR%
30-
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
31-
goto end
32-
33-
:help
34-
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
35-
36-
:end
37-
popd
1+
@ECHO OFF
2+
3+
pushd %~dp0
4+
5+
REM Command file for Sphinx documentation
6+
7+
if "%SPHINXBUILD%" == "" (
8+
set SPHINXBUILD=sphinx-build
9+
)
10+
set SPHINXOPTS=-W -c . -d _build\doctrees
11+
set SOURCEDIR=_build\src
12+
set BUILDDIR=_build
13+
14+
if "%1" == "" goto help
15+
16+
%SPHINXBUILD% >NUL 2>NUL
17+
if errorlevel 9009 (
18+
echo.
19+
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
20+
echo.installed, then set the SPHINXBUILD environment variable to point
21+
echo.to the full path of the 'sphinx-build' executable. Alternatively you
22+
echo.may add the Sphinx directory to PATH.
23+
echo.
24+
echo.If you don't have Sphinx installed, grab it from
25+
echo.http://sphinx-doc.org/
26+
exit /b 1
27+
)
28+
29+
mkdir %SOURCEDIR%
30+
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
31+
goto end
32+
33+
:help
34+
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
35+
36+
:end
37+
popd

examples/android/CHIPTest/gradlew.bat

Lines changed: 84 additions & 84 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)