From 4932a87fc1d5e41d76b40c5d135c4ea84fb5dfa5 Mon Sep 17 00:00:00 2001 From: fmq Date: Sat, 6 Jun 2026 15:27:47 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0.gitattributes?= =?UTF-8?q?=E8=A7=84=E8=8C=83=E8=A1=8C=E5=B0=BE=E7=AC=A6=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 设置text=auto自动检测文本文件 - 为常见源代码文件指定LF行尾符 - 解决Windows/WSL环境切换时的行尾符差异问题 --- .claude/settings.json | 9 ++++---- .claude/settings.local.json | 4 ++++ .gitattributes | 39 +++++++++++++++++++++++++++++++++++ .gitignore | 3 +++ .mcp.json => .mcp.json.backup | 0 5 files changed, 51 insertions(+), 4 deletions(-) create mode 100644 .claude/settings.local.json create mode 100644 .gitattributes rename .mcp.json => .mcp.json.backup (100%) diff --git a/.claude/settings.json b/.claude/settings.json index e1a20b8..1a592da 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -11,8 +11,8 @@ "Grep", "Glob", "Bash(make test-math:*)", - "Bash(ls -la /home/fmq/program/tlusty/tl208-s54/rust/*)", - "Bash(wc -l /home/fmq/program/tlusty/tl208-s54/rust/*)" + "Bash(ls -la /home/dckj/SpectraRust/*)", + "Bash(wc -l /home/dckj/SpectraRust/*)" ], "deny": [ "Bash(rm -rf *)", @@ -20,8 +20,9 @@ "Bash(curl *)" ], "additionalDirectories": [ - "/home/fmq/program/tlusty/tl208-s54/rust", - "/home/fmq/program/tlusty/tl208-s54/tlusty" + "/home/dckj/SpectraRust", + "/home/dckj/SpectraRust/tlusty", + "/home/dckj/SpectraRust/src" ] } } \ No newline at end of file diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 0000000..67a4f89 --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,4 @@ +{ + "enabledMcpjsonServers": [], + "enableAllProjectMcpServers": true +} diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6f9ef76 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,39 @@ +# Auto detect text files and perform LF normalization +* text=auto + +# Explicitly declare text files +*.rs text eol=lf +*.py text eol=lf +*.md text eol=lf +*.toml text eol=lf +*.json text eol=lf +*.yml text eol=lf +*.yaml text eol=lf + +# Declare files that will always have CRLF line endings on checkout +*.sln text eol=crlf + +# Denote all files that are truly binary and should not be modified +*.png binary +*.jpg binary +*.gif binary +*.ico binary +*.mov binary +*.mp4 binary +*.mp3 binary +*.flv binary +*.flac binary +*.jar binary +*.war binary +*.nar binary +*.ear binary +*.zip binary +*.tar binary +*.gz binary +*.xz binary +*.bz2 binary +*.7z binary +*.pdf binary +*.docx binary +*.xlsx binary +*.pptx binary diff --git a/.gitignore b/.gitignore index 8f3f5f8..cf2a1c0 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,6 @@ desktop.ini __pycache__ +synspec/extracted/ +tlusty/extracted/ +*.csv \ No newline at end of file diff --git a/.mcp.json b/.mcp.json.backup similarity index 100% rename from .mcp.json rename to .mcp.json.backup